diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-02-05 04:10:43 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-02-05 04:10:43 +0000 |
commit | f14635152fcc38a703f806dcfeb3fc51d3e55365 (patch) | |
tree | 0ed6186184ab0c6b84bb742c9b89a89a1a978fb7 /socket.c | |
parent | 6cb8b67abddf3391db61e3839c98b88320395249 (diff) | |
download | fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.tar.gz fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.tar.bz2 fetchmail-f14635152fcc38a703f806dcfeb3fc51d3e55365.zip |
LinuxWorld hacks.
svn path=/trunk/; revision=2729
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -680,7 +680,7 @@ int SockClose(int sock) * side is acknowledged at the TCP level. */ if (recv(sock, &ch, 1, MSG_PEEK) > 0) - while (recv(sock, &ch, 1, MSG_NOSIGNAL) > 0) + while (read(sock, &ch, 1) > 0) continue; /* if there's an error closing at this point, not much we can do */ |