aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);