summaryrefslogtreecommitdiff
path: root/cleanup.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-11-16 12:35:17 -0800
committerWayne Davison <wayned@samba.org>2009-11-16 12:35:17 -0800
commite4c598c830234fe3def0bae6ba45ca54071a9ee5 (patch)
treeb20aae8c324c20a41a3ff6e218a1b6aa8efe61ed /cleanup.c
parentae598f3847bd83b81effb6cc38719e790ed4c1cf (diff)
downloadrsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.tar.gz
rsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.tar.bz2
rsync-e4c598c830234fe3def0bae6ba45ca54071a9ee5.zip
Make some RERR_* choices better, and another noop_io_until_death() tweak.
Diffstat (limited to 'cleanup.c')
-rw-r--r--cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cleanup.c b/cleanup.c
index ae185d47..63118e6b 100644
--- a/cleanup.c
+++ b/cleanup.c
@@ -213,7 +213,7 @@ NORETURN void _exit_cleanup(int code, const char *file, int line)
/* FALLTHROUGH */
#include "case_N.h"
- if (exit_code && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1
+ if (exit_code && exit_code != RERR_SOCKETIO && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1
&& (protocol_version >= 31 || (!am_sender && !am_generator))) {
if (line > 0)
send_msg_int(MSG_ERROR_EXIT, exit_code);