Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/inetd Pull up rev. 1.64:



details:   https://anonhg.NetBSD.org/src/rev/f7bde8a343b8
branches:  netbsd-1-5
changeset: 488424:f7bde8a343b8
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 04 00:57:24 2000 +0000

description:
Pull up rev. 1.64:
check for mux service by ISMUX(), not by != NORM_TYPE
(the assumption can bite us if we extend se_type to have more cases).

diffstat:

 usr.sbin/inetd/inetd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 64e902c55bde -r f7bde8a343b8 usr.sbin/inetd/inetd.c
--- a/usr.sbin/inetd/inetd.c    Tue Jul 04 00:56:16 2000 +0000
+++ b/usr.sbin/inetd/inetd.c    Tue Jul 04 00:57:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inetd.c,v 1.62.2.1 2000/07/04 00:56:16 thorpej Exp $   */
+/*     $NetBSD: inetd.c,v 1.62.2.2 2000/07/04 00:57:24 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 #if 0
 static char sccsid[] = "@(#)inetd.c    8.4 (Berkeley) 4/13/94";
 #else
-__RCSID("$NetBSD: inetd.c,v 1.62.2.1 2000/07/04 00:56:16 thorpej Exp $");
+__RCSID("$NetBSD: inetd.c,v 1.62.2.2 2000/07/04 00:57:24 thorpej Exp $");
 #endif
 #endif /* not lint */
 
@@ -1424,7 +1424,7 @@
        buf0 = buf1 = sz0 = sz1 = NULL;
        if ((buf0 = strchr(sep->se_proto, ',')) != NULL) {
                /* Not meaningful for Tcpmux services. */
-               if (sep->se_type != NORM_TYPE) {
+               if (ISMUX(sep)) {
                        syslog(LOG_ERR, "%s: can't specify buffer sizes for "
                            "tcpmux services", sep->se_service);
                        goto more;



Home | Main Index | Thread Index | Old Index