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
added "created dir" message
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
b865353
..
d9b7e61
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-613,6
+613,8
@@
off_t send_files(struct file_list *flist,int f_out,int f_in)
while (1)
{
while (1)
{
+ read_check(f_in);
+
i = read_int(f_in);
if (i == -1) break;
i = read_int(f_in);
if (i == -1) break;
@@
-678,7
+680,7
@@
off_t send_files(struct file_list *flist,int f_out,int f_in)
if (!am_server && verbose)
printf("%s\n",fname);
if (!am_server && verbose)
printf("%s\n",fname);
- match_sums(f_out,s,buf,st.st_size);
+ match_sums(f_out,s,buf,st.st_size
,f_in
);
write_flush(f_out);
unmap_file(buf,st.st_size);
write_flush(f_out);
unmap_file(buf,st.st_size);