aboutsummaryrefslogtreecommitdiffstats
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-11-11 08:01:40 +0000
committerWayne Davison <wayned@samba.org>2006-11-11 08:01:40 +0000
commitcaf8299e2ed8f294d90e0fafbb9cc79c1bd2eaf5 (patch)
tree7dd38630966c00f7a1b64bfad81486710b68e4ac /exclude.c
parentc6fadc0ee1ab74ee0193a86cbe9095813d8efce4 (diff)
downloadandroid_external_rsync-caf8299e2ed8f294d90e0fafbb9cc79c1bd2eaf5.tar.gz
android_external_rsync-caf8299e2ed8f294d90e0fafbb9cc79c1bd2eaf5.tar.bz2
android_external_rsync-caf8299e2ed8f294d90e0fafbb9cc79c1bd2eaf5.zip
Tweaked an exit_cleanup() value.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exclude.c b/exclude.c
index 397acf27..df69ad3a 100644
--- a/exclude.c
+++ b/exclude.c
@@ -1141,7 +1141,7 @@ static void send_rules(int f_out, struct filter_list_struct *flp)
if (!p) {
rprintf(FERROR,
"filter rules are too modern for remote rsync.\n");
- exit_cleanup(RERR_SYNTAX);
+ exit_cleanup(RERR_PROTOCOL);
}
if (f_out < 0)
continue;