X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d89a3a313ace4f2c8f743ad5f8fc8f181bf71633..d04e9c51b4bc8e0fc1c7065553dcd3ac73a0ae40:/exclude.c diff --git a/exclude.c b/exclude.c index a12e3b7e..1bb042b3 100644 --- a/exclude.c +++ b/exclude.c @@ -316,7 +316,7 @@ void add_exclude_file(struct exclude_struct ***listp, const char *fname, void send_exclude_list(int f) { int i; - extern int remote_version; + extern int protocol_version; extern int list_only, recurse; /* This is a complete hack - blame Rusty. @@ -341,7 +341,7 @@ void send_exclude_list(int f) l = strlen(pattern); if (l == 0) continue; if (exclude_list[i]->include) { - if (remote_version < 19) { + if (protocol_version < 19) { rprintf(FERROR,"remote rsync does not support include syntax - aborting\n"); exit_cleanup(RERR_UNSUPPORTED); }