diff options
author | peter <peter@FreeBSD.org> | 1999-02-07 09:40:41 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-02-07 09:40:41 +0000 |
commit | 19c8fca2df7a6f39e5208229f428ec269fb3adbf (patch) | |
tree | 880a7cd01e2b6a0483601535c1a4c1b63a131b51 /contrib/sendmail/src/control.c | |
parent | d7ac03c10c41129058bfcad4473d778394642703 (diff) | |
download | FreeBSD-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.c | 6 |
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; } |