diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-07 00:29:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-07 00:29:47 +0000 |
commit | b3d6e03b3039b2a85eceaab83855db5ee859f665 (patch) | |
tree | 7f4bd70a859e3d7ff129a3b5f79c83dc19f0d007 | |
parent | f6f4275a05a9206cf5a1d48f6ffee13db310f4d8 (diff) | |
download | fetchmail-b3d6e03b3039b2a85eceaab83855db5ee859f665.tar.gz fetchmail-b3d6e03b3039b2a85eceaab83855db5ee859f665.tar.bz2 fetchmail-b3d6e03b3039b2a85eceaab83855db5ee859f665.zip |
Cleaner termination.
svn path=/trunk/; revision=237
-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); } |