summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/control.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-02-07 09:40:41 +0000
committerpeter <peter@FreeBSD.org>1999-02-07 09:40:41 +0000
commit19c8fca2df7a6f39e5208229f428ec269fb3adbf (patch)
tree880a7cd01e2b6a0483601535c1a4c1b63a131b51 /contrib/sendmail/src/control.c
parentd7ac03c10c41129058bfcad4473d778394642703 (diff)
downloadFreeBSD-src-19c8fca2df7a6f39e5208229f428ec269fb3adbf.zip
FreeBSD-src-19c8fca2df7a6f39e5208229f428ec269fb3adbf.tar.gz
Import sendmail 8.9.3 onto vendor branch, replacing previous interim
8.9.2 + patches version. Obtained from: ftp.sendmail.org
Diffstat (limited to 'contrib/sendmail/src/control.c')
-rw-r--r--contrib/sendmail/src/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sendmail/src/control.c b/contrib/sendmail/src/control.c
index 157ca08..415818c 100644
--- a/contrib/sendmail/src/control.c
+++ b/contrib/sendmail/src/control.c
@@ -8,7 +8,7 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)control.c 8.17 (Berkeley) 12/1/1998";
+static char sccsid[] = "@(#)control.c 8.18 (Berkeley) 1/17/1999";
#endif /* not lint */
#include "sendmail.h"
@@ -70,8 +70,7 @@ opencontrolsocket()
{
int save_errno = errno;
- (void) close(ControlSocket);
- ControlSocket = -1;
+ clrcontrol();
errno = save_errno;
return -1;
}
@@ -88,6 +87,7 @@ opencontrolsocket()
ControlSocketName, errstring(save_errno));
message("050 ownership change on %s failed: %s",
ControlSocketName, errstring(save_errno));
+ closecontrolsocket(TRUE);
errno = save_errno;
return -1;
}
OpenPOWER on IntegriCloud