aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-06-30 15:42:32 +0000
committerWayne Davison <wayned@samba.org>2006-06-30 15:42:32 +0000
commit044ccbaacf2bd1bd502c58b802e33d95c08dbff6 (patch)
treefd671909c7b1d88f0cdc95e0027901a9e9e35073 /io.c
parent841d943651fc23b8a1188f2b4d6e8ec1689de6cd (diff)
downloadandroid_external_rsync-044ccbaacf2bd1bd502c58b802e33d95c08dbff6.tar.gz
android_external_rsync-044ccbaacf2bd1bd502c58b802e33d95c08dbff6.tar.bz2
android_external_rsync-044ccbaacf2bd1bd502c58b802e33d95c08dbff6.zip
The remove_sent_files var was renamed to remove_sender_files.
Diffstat (limited to 'io.c')
-rw-r--r--io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/io.c b/io.c
index 5b87be6f..09a74589 100644
--- a/io.c
+++ b/io.c
@@ -46,7 +46,7 @@ extern int read_batch;
extern int csum_length;
extern int checksum_seed;
extern int protocol_version;
-extern int remove_sent_files;
+extern int remove_sender_files;
extern int preserve_hard_links;
extern char *filesfrom_host;
extern struct stats stats;
@@ -257,7 +257,7 @@ static void read_msg_fd(void)
exit_cleanup(RERR_STREAMIO);
}
read_loop(fd, buf, 4);
- if (remove_sent_files)
+ if (remove_sender_files)
decrement_active_files(IVAL(buf,0));
flist_ndx_push(&redo_list, IVAL(buf,0));
break;
@@ -275,7 +275,7 @@ static void read_msg_fd(void)
exit_cleanup(RERR_STREAMIO);
}
read_loop(fd, buf, len);
- if (remove_sent_files) {
+ if (remove_sender_files) {
decrement_active_files(IVAL(buf,0));
send_msg(MSG_SUCCESS, buf, len);
}
@@ -311,7 +311,7 @@ static void read_msg_fd(void)
}
/* This is used by the generator to limit how many file transfers can
- * be active at once when --remove-sent-files is specified. Without
+ * be active at once when --remove-sender-files is specified. Without
* this, sender-side deletions were mostly happening at the end. */
void increment_active_files(int ndx, int itemizing, enum logcode code)
{