X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c2b11ba0179b792d7c6fab765713a010c77f4322..c70e07d9ac09da1f00c531bb9137347f516f88f9:/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); }