=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/man/Attic/config.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/man/Attic/config.c 2009/10/27 23:59:40 1.9 --- src/usr.bin/man/Attic/config.c 2014/07/21 19:51:32 1.10 *************** *** 1,4 **** ! /* $OpenBSD: config.c,v 1.9 2009/10/27 23:59:40 deraadt Exp $ */ /* $NetBSD: config.c,v 1.7 1995/09/28 06:05:21 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: config.c,v 1.10 2014/07/21 19:51:32 schwarze Exp $ */ /* $NetBSD: config.c,v 1.7 1995/09/28 06:05:21 tls Exp $ */ /* *************** *** 92,99 **** continue; *t = '\0'; ! for (tp = TAILQ_FIRST(&head); /* Find any matching tag. */ ! tp != NULL && strcmp(p, tp->s); tp = TAILQ_NEXT(tp, q)); if (tp == NULL) /* Create a new tag. */ tp = addlist(p); --- 92,98 ---- continue; *t = '\0'; ! tp = getlist(p); /* Find any matching tag. */ if (tp == NULL) /* Create a new tag. */ tp = addlist(p);