diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-02-22 04:04:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-02-22 04:04:41 +0000 |
commit | 83cec868b20841b81fd0c3b59d8e98c81f5608ea (patch) | |
tree | e9accfafaa30bc84d0efccb8e993289eb168fdee /socket.c | |
parent | 6f390a7fe4dfd8640c9866ad5d47ca2ffff47105 (diff) | |
download | fetchmail-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |