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
commitab5a9cbab45b524bd67604dcdbe60870697848d2 (patch)
tree3d5cbf462390cf6c6ed3bc71b85e84ffae40948f /contrib/sendmail/src/control.c
parent7a0029ee87f579bf3090db5b0fba045030753bbb (diff)
parent19c8fca2df7a6f39e5208229f428ec269fb3adbf (diff)
downloadFreeBSD-src-ab5a9cbab45b524bd67604dcdbe60870697848d2.zip
FreeBSD-src-ab5a9cbab45b524bd67604dcdbe60870697848d2.tar.gz
This commit was generated by cvs2svn to compensate for changes in r43730,
which included commits to RCS files with non-trunk default branches.
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