Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed the buffer-has-space check in write_buf().
[rsync/rsync.git]
/
compat.c
diff --git
a/compat.c
b/compat.c
index
6655acd
..
f5cfbd4
100644
(file)
--- 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) {