diff options
-rw-r--r-- | driver.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -676,9 +676,11 @@ cleanUp: #endif /* HAVE_RRESVPORT_H */ closeUp: - SMTP_quit(mboxfd); - close(mboxfd); - + if (mboxfd != -1) + { + SMTP_quit(mboxfd); + close(mboxfd); + } return(ok); } |