From 19c8fca2df7a6f39e5208229f428ec269fb3adbf Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 7 Feb 1999 09:40:41 +0000 Subject: Import sendmail 8.9.3 onto vendor branch, replacing previous interim 8.9.2 + patches version. Obtained from: ftp.sendmail.org --- contrib/sendmail/src/control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib/sendmail/src/control.c') 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; } -- cgit v1.1