aboutsummaryrefslogtreecommitdiffstats
path: root/driver.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 /driver.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 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 655bf4d3..f627d2cb 100644
--- a/driver.c
+++ b/driver.c
@@ -1537,7 +1537,7 @@ const int maxfetch; /* maximum number of messages to fetch */
/* try to clean up all streams */
release_sink(ctl);
if (ctl->smtp_socket != -1)
- close(ctl->smtp_socket);
+ SockClose(ctl->smtp_socket);
if (mailserver_socket != -1)
SockClose(mailserver_socket);
}