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:
822012e
)
If --dry-run is enabled with --read-batch, we must discard the
author
Wayne Davison
<wayned@samba.org>
Thu, 24 Mar 2005 16:38:34 +0000
(16:38 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 24 Mar 2005 16:38:34 +0000
(16:38 +0000)
transfer data.
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
ff02e20
..
9622b0d
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-438,6
+438,8
@@
int recv_files(int f_in, struct file_list *flist, char *local_name)
if (dry_run) { /* log the transfer */
if (!am_server && log_format)
log_item(file, &stats, iflags, NULL);
+ if (read_batch)
+ discard_receive_data(f_in, file->length);
continue;
}