diff options
author | Wayne Davison <wayned@samba.org> | 2010-01-02 09:14:19 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2010-01-02 09:14:19 -0800 |
commit | e34f43495c0f0ab0e7b01983238f5d6e8988e30b (patch) | |
tree | f5b230e4f04e24a75ebf1cb322f1bc93c8cec8c0 | |
parent | 42562649917058c3aff682741854ac12ffe72d20 (diff) | |
download | rsync-e34f43495c0f0ab0e7b01983238f5d6e8988e30b.tar.gz rsync-e34f43495c0f0ab0e7b01983238f5d6e8988e30b.tar.bz2 rsync-e34f43495c0f0ab0e7b01983238f5d6e8988e30b.zip |
Don't try to send MSG_ERROR_EXIT after a timeout.
-rw-r--r-- | cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -215,7 +215,7 @@ NORETURN void _exit_cleanup(int code, const char *file, int line) #include "case_N.h" if (exit_code && exit_code != RERR_SOCKETIO && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1 - && !shutting_down && (protocol_version >= 31 || am_receiver)) { + && exit_code != RERR_TIMEOUT && !shutting_down && (protocol_version >= 31 || am_receiver)) { if (line > 0) { if (DEBUG_GTE(EXIT, 3)) { rprintf(FINFO, "[%s] sending MSG_ERROR_EXIT with exit_code %d\n", |