last patch misapplied.

This commit is contained in:
Poul-Henning Kamp 1998-07-22 14:24:12 +00:00
parent f3679e351a
commit d4676e5ad7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37844

View file

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94"; static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94";
#endif #endif
static const char rcsid[] = static const char rcsid[] =
"$Id: inetd.c,v 1.34 1998/05/14 20:26:16 guido Exp $"; "$Id: inetd.c,v 1.35 1998/07/22 05:53:53 phk Exp $";
#endif /* not lint */ #endif /* not lint */
/* /*
@ -461,10 +461,10 @@ main(argc, argv, envp)
if (errno != EINTR) if (errno != EINTR)
syslog(LOG_WARNING, syslog(LOG_WARNING,
"accept (for %s): %m", "accept (for %s): %m",
sep->se_service);
if (sep->se_accept && if (sep->se_accept &&
sep->se_socktype == SOCK_STREAM) sep->se_socktype == SOCK_STREAM)
close(ctrl); close(ctrl);
sep->se_service);
continue; continue;
} }
if (cpmip(sep, ctrl) < 0) { if (cpmip(sep, ctrl) < 0) {