diff options
author | Wayne Davison <wayned@samba.org> | 2005-02-01 09:21:28 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-02-01 09:21:28 +0000 |
commit | 2b1366635dc416420ed2617260aafe17d259ae0f (patch) | |
tree | 5f155e4fc087c3afd8b5a43aaa1c9b16c02e3726 /batch.c | |
parent | 42f23f479d3e5beb8275d5dd8f4bb2f905f54f4d (diff) | |
download | android_external_rsync-2b1366635dc416420ed2617260aafe17d259ae0f.tar.gz android_external_rsync-2b1366635dc416420ed2617260aafe17d259ae0f.tar.bz2 android_external_rsync-2b1366635dc416420ed2617260aafe17d259ae0f.zip |
Refer to the old basedir variable as dir.root.
Diffstat (limited to 'batch.c')
-rw-r--r-- | batch.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -8,7 +8,7 @@ #include "rsync.h" #include <time.h> -extern char *batch_name; +extern int am_sender; extern int eol_nulls; extern int recurse; extern int preserve_links; @@ -18,6 +18,7 @@ extern int preserve_uid; extern int preserve_gid; extern int always_checksum; extern int protocol_version; +extern char *batch_name; extern struct filter_list_struct filter_list; @@ -198,9 +199,9 @@ void show_flist(int index, struct file_struct **fptr) if (fptr[i]->dirname) rprintf(FINFO, "flist->dirname=%s\n", fptr[i]->dirname); - if (fptr[i]->basedir) - rprintf(FINFO, "flist->basedir=%s\n", - fptr[i]->basedir); + if (am_sender && fptr[i]->dir.root) + rprintf(FINFO, "flist->dir.root=%s\n", + fptr[i]->dir.root); } } |