X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d310a212f7a5c79e5e98c829e49a5c9596c12301..0503f06089b89aa4166d6ced8d5901ad6a112c41:/compat.c diff --git a/compat.c b/compat.c index ba1a83e5..ee9e0520 100644 --- a/compat.c +++ b/compat.c @@ -23,8 +23,6 @@ extern int am_server; -extern int csum_length; - extern int preserve_links; extern int preserve_perms; extern int preserve_devices; @@ -54,7 +52,7 @@ void setup_protocol(int f_out,int f_in) remote_version > MAX_PROTOCOL_VERSION) { rprintf(FERROR,"protocol version mismatch - is your shell clean?\n"); rprintf(FERROR,"(see the rsync man page for an explanation)\n"); - exit_cleanup(1); + exit_cleanup(RERR_PROTOCOL); } if (verbose > 2)