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/rpc.bootparamd Pull up rev. 1.35 (approved by ...



details:   https://anonhg.NetBSD.org/src/rev/7fd239ca6951
branches:  netbsd-1-5
changeset: 488429:7fd239ca6951
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Jul 05 01:15:25 2000 +0000

description:
Pull up rev. 1.35 (approved by releng-1-5):
date: 2000/07/04 08:18:44;  author: enami;  state: Exp;  lines: +5 -4
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 43bb7fe9a99b -r 7fd239ca6951 usr.sbin/rpc.bootparamd/bootparamd.c
--- a/usr.sbin/rpc.bootparamd/bootparamd.c      Tue Jul 04 16:05:32 2000 +0000
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c      Wed Jul 05 01:15:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootparamd.c,v 1.33.2.1 2000/07/03 22:30:56 thorpej Exp $      */
+/*     $NetBSD: bootparamd.c,v 1.33.2.2 2000/07/05 01:15:25 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.33.2.1 2000/07/03 22:30:56 thorpej Exp $");
+__RCSID("$NetBSD: bootparamd.c,v 1.33.2.2 2000/07/05 01:15:25 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