aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-25 01:38:49 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-25 01:38:49 +0000
commit60966f2e9a50c1f0c1b40f1739e7475cb4a67825 (patch)
treedad852c15afd620ce8b239bab1249398226381e3
parenta5c5ce437bce689c08dabdbcd1107f3d0175539d (diff)
downloadfetchmail-60966f2e9a50c1f0c1b40f1739e7475cb4a67825.tar.gz
fetchmail-60966f2e9a50c1f0c1b40f1739e7475cb4a67825.tar.bz2
fetchmail-60966f2e9a50c1f0c1b40f1739e7475cb4a67825.zip
Bug fix.
svn path=/trunk/; revision=375
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 3d38b8d9..462b31e4 100644
--- a/driver.c
+++ b/driver.c
@@ -895,7 +895,8 @@ cleanUp:
closeUp:
if (mboxfd != -1)
{
- SMTP_quit(mboxfd);
+ if (!queryctl->mda[0])
+ SMTP_quit(mboxfd);
close(mboxfd);
}
alarm(0);