aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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;
}
}