Tweaked an exit_cleanup() value.
authorWayne Davison <wayned@samba.org>
Sat, 11 Nov 2006 08:01:40 +0000 (08:01 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 11 Nov 2006 08:01:40 +0000 (08:01 +0000)
exclude.c

index 397acf2..df69ad3 100644 (file)
--- 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;