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 (from parent 1:
574c250
)
Set kluge_around_eof to a -1 for the receiver's needs.
author
Wayne Davison
<wayned@samba.org>
Sat, 26 Feb 2005 20:58:08 +0000
(20:58 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 26 Feb 2005 20:58:08 +0000
(20:58 +0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
109577e
..
07603a5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-35,7
+35,7
@@
extern int blocking_io;
extern int remove_sent_files;
extern int daemon_over_rsh;
extern int need_messages_from_generator;
extern int remove_sent_files;
extern int daemon_over_rsh;
extern int need_messages_from_generator;
-extern int klu
d
ge_around_eof;
+extern int kluge_around_eof;
extern int do_stats;
extern int log_got_error;
extern int module_id;
extern int do_stats;
extern int log_got_error;
extern int module_id;
@@
-564,7
+564,7
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
* USR2 signal. If --delete-after was specified, we might get
* a keep-alive message over the socket, so handle that too. */
if (protocol_version >= 29) {
* USR2 signal. If --delete-after was specified, we might get
* a keep-alive message over the socket, so handle that too. */
if (protocol_version >= 29) {
- klu
dge_around_eof =
1;
+ klu
ge_around_eof = -
1;
while (read_int(f_in) == flist->count) {
if (read_shortint(f_in) != ITEM_IS_NEW)
break; /* Complain? */
while (read_int(f_in) == flist->count) {
if (read_shortint(f_in) != ITEM_IS_NEW)
break; /* Complain? */