]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
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 397acf27d648b0316f32ad4805f3f4520fd7eae7..df69ad3a7cd55bb904f2a3b65fc2fa7dc8b1c38d 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;