diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-02-01 02:22:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-02-01 02:22:24 +0000 |
commit | 5ef9c343fc4b219f01498be7c88e1fdae67c35ee (patch) | |
tree | 1a2beb0020814595d15b46d10f46fd735efc2dd4 /driver.c | |
parent | c260a67eb2a4a93567a7a975b6ebe92204fc9b49 (diff) | |
download | fetchmail-5ef9c343fc4b219f01498be7c88e1fdae67c35ee.tar.gz fetchmail-5ef9c343fc4b219f01498be7c88e1fdae67c35ee.tar.bz2 fetchmail-5ef9c343fc4b219f01498be7c88e1fdae67c35ee.zip |
Sunil Shetye's fixews for IMAP and SMTP edge cases.
svn path=/trunk/; revision=3570
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; |