=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/info_mkdb/Attic/getinfo.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/info_mkdb/Attic/getinfo.c 1996/07/22 04:03:44 1.2 +++ src/usr.bin/info_mkdb/Attic/getinfo.c 1998/05/11 18:28:20 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: getinfo.c,v 1.2 1996/07/22 04:03:44 tholo Exp $ */ +/* $OpenBSD: getinfo.c,v 1.3 1998/05/11 18:28:20 deraadt Exp $ */ /*- * Copyright (c) 1996 SigmaSoft, Th. Lockert @@ -31,7 +31,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: getinfo.c,v 1.2 1996/07/22 04:03:44 tholo Exp $"; +static char rcsid[] = "$OpenBSD: getinfo.c,v 1.3 1998/05/11 18:28:20 deraadt Exp $"; #endif /* not lint */ #include @@ -481,14 +481,15 @@ */ np = name; for (;;) - if (*np == '\0') + if (*np == '\0') { if (*bp == '|' || *bp == ',' || *bp == '\0') return (0); else break; - else + } else { if (*bp++ != *np++) break; + } /* * Match failed, skip to next name in record.