aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-05 04:10:43 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-05 04:10:43 +0000
commitf14635152fcc38a703f806dcfeb3fc51d3e55365 (patch)
tree0ed6186184ab0c6b84bb742c9b89a89a1a978fb7 /socket.c
parent6cb8b67abddf3391db61e3839c98b88320395249 (diff)
downloadfetchmail-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index f8e40c34..9008a66d 100644
--- a/socket.c
+++ b/socket.c
@@ -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 */