diff options
author | deraadt <deraadt@openbsd.org> | 2002-07-15 23:05:17 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2002-07-15 23:05:17 +0000 |
commit | 56a467dbf2d55986744d91ff88ca0346d9781323 (patch) | |
tree | 07709b255f5022b316a512c06bb305b662707519 /usr.sbin/inetd | |
parent | ansi (diff) | |
download | wireguard-openbsd-56a467dbf2d55986744d91ff88ca0346d9781323.tar.xz wireguard-openbsd-56a467dbf2d55986744d91ff88ca0346d9781323.zip |
minor tweaks
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r-- | usr.sbin/inetd/inetd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index 70ee525f619..58133bcf034 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.104 2002/07/15 22:26:31 deraadt Exp $ */ +/* $OpenBSD: inetd.c,v 1.105 2002/07/15 23:05:17 deraadt Exp $ */ /* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -41,7 +41,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)inetd.c 5.30 (Berkeley) 6/3/91";*/ -static char rcsid[] = "$OpenBSD: inetd.c,v 1.104 2002/07/15 22:26:31 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: inetd.c,v 1.105 2002/07/15 23:05:17 deraadt Exp $"; #endif /* not lint */ /* @@ -1371,7 +1371,8 @@ more: s = socket(nsep->se_family, SOCK_DGRAM, 0); if (s < 0) { syslog(LOG_WARNING, -"%s/%s: %s: the address family is not supported by the kernel", + "%s/%s: %s: the address family is " + "not supported by the kernel", nsep->se_service, nsep->se_proto, nsep->se_hostaddr); nsep->se_checked = 0; @@ -1705,7 +1706,7 @@ initring(void) endring = ring; - for (i = 0; i <= 128; ++i) + for (i = 0; i <= sizeof ring; ++i) if (isprint(i)) *endring++ = i; } |