=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cap_mkdb/Attic/getinfo.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/cap_mkdb/Attic/getinfo.c 1999/03/05 04:47:45 1.1 +++ src/usr.bin/cap_mkdb/Attic/getinfo.c 2000/09/22 22:22:22 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: getinfo.c,v 1.1 1999/03/05 04:47:45 tholo Exp $ */ +/* $OpenBSD: getinfo.c,v 1.2 2000/09/22 22:22:22 naddy Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: getinfo.c,v 1.1 1999/03/05 04:47:45 tholo Exp $"; +static char rcsid[] = "$OpenBSD: getinfo.c,v 1.2 2000/09/22 22:22:22 naddy Exp $"; #endif /* not lint */ #include @@ -288,12 +288,6 @@ } /* loop invariant let's us do this */ *rp++ = '\0'; - - /* - * If encountered eof check next file. - */ - if (eof) - break; /* * Toss blank lines and comments. @@ -308,6 +302,12 @@ foundit = 1; break; /* found it! */ } + + /* + * If encountered eof check next file. + */ + if (eof) + break; } } if (foundit)