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
Patch from Jos Backus -- Fix breakage from dev_t to DEV64_T in batch
[rsync/rsync.git]
/
sender.c
diff --git
a/sender.c
b/sender.c
index
ee34bc9
..
d9fc5e6
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-159,13
+159,14
@@
void send_files(struct file_list *flist,int f_out,int f_in)
initial_stats = stats;
s = receive_sums(f_in);
initial_stats = stats;
s = receive_sums(f_in);
- if (write_batch) /* dw */
- write_batch_csum_info(&i,flist->count,s);
if (!s) {
io_error = 1;
rprintf(FERROR,"receive_sums failed\n");
return;
}
if (!s) {
io_error = 1;
rprintf(FERROR,"receive_sums failed\n");
return;
}
+
+ if (write_batch)
+ write_batch_csum_info(&i,flist->count,s);
if (!read_batch) {
fd = do_open(fname, O_RDONLY, 0);
if (!read_batch) {
fd = do_open(fname, O_RDONLY, 0);