diff options
author | Wayne Davison <wayned@samba.org> | 2006-12-10 14:55:44 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-12-10 14:55:44 +0000 |
commit | 64119c792da6c4fe98107861aab518a0add0fc13 (patch) | |
tree | 5104962650c12274b92fb29be6776f9b7ab7af00 /io.c | |
parent | 8388e011ae6d53552229f8de4c15e609af228e92 (diff) | |
download | rsync-64119c792da6c4fe98107861aab518a0add0fc13.tar.gz |
Added MSG_CLIENT to the acceptable messages the generator can
get from the receiver.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |