aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-01-31 22:16:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-01-31 22:16:23 +0000
commit6ae74f9b7a1ec9170efa53cab74e889eb1697a50 (patch)
tree8bad50e9cdd67c73ebf90abb902b5c86adfa8ecb /fetchmail.c
parent8fa6b11990283115b0751212222ff6aaaaf81e60 (diff)
downloadfetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.tar.gz
fetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.tar.bz2
fetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.zip
Graceful socket closing.
svn path=/trunk/; revision=2726
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index bbd6bfab..c6b2e72f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1322,7 +1322,7 @@ static void terminate_poll(int sig)
if (ctl->smtp_socket != -1)
{
SMTP_quit(ctl->smtp_socket);
- close(ctl->smtp_socket);
+ SockClose(ctl->smtp_socket);
ctl->smtp_socket = -1;
}
}