X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/98f8c9a5e54d90043248f8c64228e15a2baeec30..80a25bb88076453bbd2a2e00d697fd6b03ad4a7b:/io.c diff --git a/io.c b/io.c index 5d5b030c..62880fba 100644 --- a/io.c +++ b/io.c @@ -916,7 +916,7 @@ static void writefd_unbuffered(int fd,char *buf,size_t len) /* If the other side is sending us error messages, try * to grab any messages they sent before they died. */ while (fd == sock_f_out && io_multiplexing_in) { - io_timeout = 30; + io_timeout = select_timeout = 30; readfd_unbuffered(sock_f_in, io_filesfrom_buf, sizeof io_filesfrom_buf); }