X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c2b11ba0179b792d7c6fab765713a010c77f4322..b7d4d28bb3f45290bf7d747b5fa54c0e3ea4d181:/sender.c diff --git a/sender.c b/sender.c index a9e426b6..d4387a47 100644 --- a/sender.c +++ b/sender.c @@ -169,7 +169,8 @@ int read_iflags(int f_in, int f_out, int ndx, char *buf) } } else if (f_out >= 0) { write_int(f_out, ndx); - write_shortint(f_out, isave /*XXX iflags */); + if (protocol_version >= 29) + write_shortint(f_out, isave /*XXX iflags */); if (len >= 0) write_vstring(f_out, buf, len); }