extern pid_t cleanup_child_pid;
extern char *files_from;
extern char *remote_filesfrom_file;
-extern char *compare_dest;
+extern char *basis_dir[];
extern char *rsync_path;
extern char *shell_cmd;
extern char *batch_name;
int pid;
int status = 0;
int error_pipe[2], name_pipe[2];
- BOOL need_name_pipe = compare_dest && !dry_run;
+ BOOL need_name_pipe = basis_dir[0] && !dry_run;
/* The receiving side mustn't obey this, or an existing symlink that
* points to an identical file won't be replaced by the referent. */
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
- }
+ } else
+ rsync_port = RSYNC_PORT;
return start_socket_client(host, path, argc-1, argv+1);
}
if (p) {
rsync_port = atoi(p+1);
*p = '\0';
- }
+ } else
+ rsync_port = RSYNC_PORT;
return start_socket_client(host, path, argc-1, argv);
}