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:
58a14ed
)
In read_iflags(), we need to set buf to an empty string.
author
Wayne Davison
<wayned@samba.org>
Fri, 4 Mar 2005 18:01:16 +0000
(18:01 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 4 Mar 2005 18:01:16 +0000
(18:01 +0000)
sender.c
patch
|
blob
|
blame
|
history
diff --git
a/sender.c
b/sender.c
index
35955c7
..
2d9c85b
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-144,6
+144,8
@@
int read_iflags(int f_in, int f_out, int ndx, char *buf)
exit_cleanup(RERR_PROTOCOL);
}
+ *buf = '\0';
+
if ((!(iflags & ITEM_UPDATING) || !S_ISREG(the_file_list->files[ndx]->mode)) && f_out >= 0) {
write_int(f_out, ndx);
write_shortint(f_out, iflags);