From 64119c792da6c4fe98107861aab518a0add0fc13 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 10 Dec 2006 14:55:44 +0000 Subject: [PATCH] Added MSG_CLIENT to the acceptable messages the generator can get from the receiver. --- io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/io.c b/io.c index 8fe82848..75f39132 100644 --- a/io.c +++ b/io.c @@ -302,11 +302,13 @@ static void read_msg_fd(void) flist_ndx_push(&hlink_list, IVAL(buf,0)); break; case MSG_SOCKERR: + case MSG_CLIENT: if (!am_generator) { rprintf(FERROR, "invalid message %d:%d\n", tag, len); exit_cleanup(RERR_STREAMIO); } - close_multiplexing_out(); + if (tag == MSG_SOCKERR) + close_multiplexing_out(); /* FALL THROUGH */ case MSG_INFO: case MSG_ERROR: -- 2.34.1