aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-06-30 15:52:52 +0000
committerWayne Davison <wayned@samba.org>2006-06-30 15:52:52 +0000
commit47c1197534c3247a2669df86fbc36d4094d6ba93 (patch)
treea0ba3679f4bdc446ee5a8b35f0b894f05c5e7c76 /main.c
parentfb41a3c66951502e6e9461d198943566799b9f62 (diff)
downloadandroid_external_rsync-47c1197534c3247a2669df86fbc36d4094d6ba93.tar.gz
android_external_rsync-47c1197534c3247a2669df86fbc36d4094d6ba93.tar.bz2
android_external_rsync-47c1197534c3247a2669df86fbc36d4094d6ba93.zip
Decided that I like remove-source-files better than remove-sender-files.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 0a241a36..c37b3c79 100644
--- a/main.c
+++ b/main.c
@@ -35,7 +35,7 @@ extern int am_sender;
extern int am_generator;
extern int am_daemon;
extern int blocking_io;
-extern int remove_sender_files;
+extern int remove_source_files;
extern int daemon_over_rsh;
extern int need_messages_from_generator;
extern int kluge_around_eof;
@@ -614,10 +614,10 @@ static void do_server_sender(int f_in, int f_out, int argc, char *argv[])
exit_cleanup(RERR_SYNTAX);
return;
}
- if (am_daemon && lp_read_only(module_id) && remove_sender_files) {
+ if (am_daemon && lp_read_only(module_id) && remove_source_files) {
rprintf(FERROR,
"ERROR: --remove-%s-files cannot be used with a read-only module\n",
- remove_sender_files == 1 ? "sender" : "sent");
+ remove_source_files == 1 ? "source" : "sent");
exit_cleanup(RERR_SYNTAX);
return;
}