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
Tweaked a comment and some null-char assignments.
[rsync/rsync.git]
/
receiver.c
diff --git
a/receiver.c
b/receiver.c
index
6e2bd1c
..
abe1f66
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-462,7
+462,8
@@
int recv_files(int f_in, struct file_list *flist, char *local_name)
}
if (write_batch < 0) {
log_item(file, &stats, iflags, NULL);
- discard_receive_data(f_in, file->length);
+ if (!am_server)
+ discard_receive_data(f_in, file->length);
continue;
}