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
- Only do read-/write-batch processing if we're not the server (needed
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
1cc1905
..
1d662b4
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1206,7
+1206,7
@@
void generate_files(int f_out, struct file_list *flist, char *local_name)
if (allowed_lull && !(i % lull_mod))
maybe_send_keepalive();
if (allowed_lull && !(i % lull_mod))
maybe_send_keepalive();
- else if (!(i %
5
0))
+ else if (!(i %
20
0))
maybe_flush_socket();
}
recv_generator(NULL, NULL, 0, 0, 0, code, -1);
maybe_flush_socket();
}
recv_generator(NULL, NULL, 0, 0, 0, code, -1);
@@
-1284,7
+1284,7
@@
void generate_files(int f_out, struct file_list *flist, char *local_name)
maybe_PERMS_REPORT, code, -1);
if (allowed_lull && !(++j % lull_mod))
maybe_send_keepalive();
maybe_PERMS_REPORT, code, -1);
if (allowed_lull && !(++j % lull_mod))
maybe_send_keepalive();
- else if (!(j %
5
0))
+ else if (!(j %
20
0))
maybe_flush_socket();
}
}
maybe_flush_socket();
}
}