From 6ae74f9b7a1ec9170efa53cab74e889eb1697a50 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 31 Jan 2000 22:16:23 +0000 Subject: Graceful socket closing. svn path=/trunk/; revision=2726 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') 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; } } -- cgit v1.2.3