aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2004-11-27 17:52:49 +0000
committerWayne Davison <wayned@samba.org>2004-11-27 17:52:49 +0000
commitc3fad2e227be9d8a7636a9eb4f90ed22a3274e8c (patch)
tree14f366cca256684b0d98bf014b6fcd91cc31a756 /main.c
parentb7e8628c4bc66be139ae1a7efcb16034c146edb7 (diff)
downloadandroid_external_rsync-c3fad2e227be9d8a7636a9eb4f90ed22a3274e8c.tar.gz
android_external_rsync-c3fad2e227be9d8a7636a9eb4f90ed22a3274e8c.tar.bz2
android_external_rsync-c3fad2e227be9d8a7636a9eb4f90ed22a3274e8c.zip
The compare_dest variable changed.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 28803c8b..7ff33f55 100644
--- a/main.c
+++ b/main.c
@@ -59,7 +59,7 @@ extern int filesfrom_fd;
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;
@@ -463,7 +463,7 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_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. */