aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-22 04:04:41 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-22 04:04:41 +0000
commit83cec868b20841b81fd0c3b59d8e98c81f5608ea (patch)
treee9accfafaa30bc84d0efccb8e993289eb168fdee /socket.c
parent6f390a7fe4dfd8640c9866ad5d47ca2ffff47105 (diff)
downloadfetchmail-83cec868b20841b81fd0c3b59d8e98c81f5608ea.tar.gz
fetchmail-83cec868b20841b81fd0c3b59d8e98c81f5608ea.tar.bz2
fetchmail-83cec868b20841b81fd0c3b59d8e98c81f5608ea.zip
Tweak in lexical analysis.
svn path=/trunk/; revision=2764
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 9501b1eb..3040a5fe 100644
--- a/socket.c
+++ b/socket.c
@@ -669,7 +669,7 @@ int SockClose(int sock)
* This stops sends but allows receives (effectively, it sends a
* TCP <FIN>).
*/
- if (shutdown(sock, 1) == SUCCESS)
+ if (shutdown(sock, 1) == 0)
/* If there is any data still waiting in the queue, discard it.
* Call recv() until either it returns 0 (meaning we received a FIN)
* or any error occurs. This makes sure all data sent by the other