Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b11ba
)
Backward compatibility fix in read_iflags() (for protocols < 29).
author
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 02:25:34 +0000
(
02:25
+0000)
committer
Wayne Davison
<wayned@samba.org>
Wed, 9 Mar 2005 02:25:34 +0000
(
02:25
+0000)
sender.c
patch
|
blob
|
blame
|
history
diff --git
a/sender.c
b/sender.c
index
a9e426b
..
d4387a4
100644
(file)
--- 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);
}