X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/accc091fe9ebbb602bcf692c577486e62011d5c1..e4c598c830234fe3def0bae6ba45ca54071a9ee5:/compat.c diff --git a/compat.c b/compat.c index 6655acd4..f5cfbd4b 100644 --- a/compat.c +++ b/compat.c @@ -255,8 +255,9 @@ void setup_protocol(int f_out,int f_in) compat_flags |= CF_SYMLINK_ICONV; #endif write_byte(f_out, compat_flags); - } else + } else { compat_flags = read_byte(f_in); + } /* The inc_recurse var MUST be set to 0 or 1. */ inc_recurse = compat_flags & CF_INC_RECURSE ? 1 : 0; if (am_sender) {