From: Wayne Davison Date: Sat, 2 Jan 2010 17:14:19 +0000 (-0800) Subject: Don't try to send MSG_ERROR_EXIT after a timeout. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e34f43495c0f0ab0e7b01983238f5d6e8988e30b Don't try to send MSG_ERROR_EXIT after a timeout. --- diff --git a/cleanup.c b/cleanup.c index 76f57b5d..dc18f72a 100644 --- a/cleanup.c +++ b/cleanup.c @@ -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",