diff options
| author | Wayne Davison <wayned@samba.org> | 2004-12-31 00:39:59 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2004-12-31 00:39:59 +0000 |
| commit | ef0c03ff700d19de29a797f0ab77963a6ac0beaa (patch) | |
| tree | 1b8297a25b95a75c33ce6756a7a2793459cb9b13 /io.c | |
| parent | ad54dcc827451383222d1cf12d33038ba7f49447 (diff) | |
| download | android_external_rsync-ef0c03ff700d19de29a797f0ab77963a6ac0beaa.tar.gz android_external_rsync-ef0c03ff700d19de29a797f0ab77963a6ac0beaa.tar.bz2 android_external_rsync-ef0c03ff700d19de29a797f0ab77963a6ac0beaa.zip | |
The code that tries to read an error from the socket in an abnormal-
exit situation was properly forcing the io_timeout value down to 30
seconds, but failing to set the select_timeout value.
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |
