aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-16 16:38:34 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-16 16:38:34 +0000
commitd29f00801f0c468640792ca5888c4f7b16f94254 (patch)
treeed7917d15bad1ba0477cbf2d4abdac29749577a2 /fetchmail.c
parenta147a777842e22c5ef0ca1ca86cfe61f952056a4 (diff)
downloadfetchmail-d29f00801f0c468640792ca5888c4f7b16f94254.tar.gz
fetchmail-d29f00801f0c468640792ca5888c4f7b16f94254.tar.bz2
fetchmail-d29f00801f0c468640792ca5888c4f7b16f94254.zip
Include Cameron McPherson's patch for handling multi-line SMTP responses.
svn path=/trunk/; revision=545
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 3cfe3466..b10da556 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -357,6 +357,7 @@ int main (int argc, char **argv)
for (ctl = querylist; ctl; ctl = ctl->next)
if (ctl->smtp_sockfp)
{
+ SMTP_quit(ctl->smtp_sockfp);
fclose(ctl->smtp_sockfp);
ctl->smtp_sockfp = (FILE *)NULL;
}