From 5ef9c343fc4b219f01498be7c88e1fdae67c35ee Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 1 Feb 2002 02:22:24 +0000 Subject: Sunil Shetye's fixews for IMAP and SMTP edge cases. svn path=/trunk/; revision=3570 --- driver.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index ec461410..aa35cfa4 100644 --- a/driver.c +++ b/driver.c @@ -788,10 +788,7 @@ const int maxfetch; /* maximum number of messages to fetch */ /* try to clean up all streams */ release_sink(ctl); - if (ctl->smtp_socket != -1) { - cleanupSockClose(ctl->smtp_socket); - ctl->smtp_socket = -1; - } + smtp_close(ctl, 0); if (mailserver_socket != -1) { cleanupSockClose(mailserver_socket); mailserver_socket = -1; -- cgit v1.2.3