diff options
author | Wayne Davison <wayned@samba.org> | 2009-11-15 12:49:09 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-11-15 12:54:55 -0800 |
commit | ae598f3847bd83b81effb6cc38719e790ed4c1cf (patch) | |
tree | 6f302f69f2546f642aa2146803291dc95015e868 /cleanup.c | |
parent | d85d029b923a747fdf9fbf39154f8424129f7023 (diff) | |
download | rsync-ae598f3847bd83b81effb6cc38719e790ed4c1cf.tar.gz |
Don't complain about a socket EOF unless it affects a read.
Make sure a write error drains any messages in the input buffer.
Diffstat (limited to 'cleanup.c')
-rw-r--r-- | cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ NORETURN void _exit_cleanup(int code, const char *file, int line) #include "case_N.h" if (exit_code && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1 - && (protocol_version >= 31 || am_server || (!am_sender && !am_generator))) { + && (protocol_version >= 31 || (!am_sender && !am_generator))) { if (line > 0) send_msg_int(MSG_ERROR_EXIT, exit_code); noop_io_until_death(); |