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
Fix MSG_IO_TIMEOUT when the daemon is the receiver.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
a85bcfa
..
e7cb76e
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-1307,7
+1307,7
@@
static void read_a_msg(void)
send_msg(MSG_IO_ERROR, data, 4, 0);
break;
case MSG_IO_TIMEOUT:
- if (msg_bytes != 4 || am_se
nd
er || am_generator)
+ if (msg_bytes != 4 || am_se
rv
er || am_generator)
goto invalid_msg;
data = perform_io(4, PIO_INPUT_AND_CONSUME);
val = IVAL(data, 0);