Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rpc.bootparamd If the line wasn't for the client we...
details: https://anonhg.NetBSD.org/src/rev/dc7b04cfd5e2
branches: trunk
changeset: 494235:dc7b04cfd5e2
user: enami <enami%NetBSD.org@localhost>
date: Tue Jul 04 08:18:44 2000 +0000
description:
If the line wasn't for the client we are looking for, skip it.
While I'm here, I indented the continuation line properly.
diffstat:
usr.sbin/rpc.bootparamd/bootparamd.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 5a5aef2892e9 -r dc7b04cfd5e2 usr.sbin/rpc.bootparamd/bootparamd.c
--- a/usr.sbin/rpc.bootparamd/bootparamd.c Tue Jul 04 07:59:12 2000 +0000
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c Tue Jul 04 08:18:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootparamd.c,v 1.34 2000/06/28 01:30:56 thorpej Exp $ */
+/* $NetBSD: bootparamd.c,v 1.35 2000/07/04 08:18:44 enami Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@@ -11,7 +11,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: bootparamd.c,v 1.34 2000/06/28 01:30:56 thorpej Exp $");
+__RCSID("$NetBSD: bootparamd.c,v 1.35 2000/07/04 08:18:44 enami Exp $");
#endif
#include <sys/types.h>
@@ -390,13 +390,14 @@
continue;
}
if (fnmatch(word, hp->h_name,
- FNM_CASEFOLD) == 0) {
+ FNM_CASEFOLD) == 0) {
/* See above. */
if (HASGLOB(word))
canon = hp->h_name;
else
canon = word;
- }
+ } else
+ continue;
}
#undef HASGLOB
Home |
Main Index |
Thread Index |
Old Index