diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-03 05:53:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-03 05:53:47 +0000 |
commit | 369efafbd89574c86aaa30ff91319a0acae2da9a (patch) | |
tree | 06f3e2a7e0e948e9cd7339f0bcaaf2e465cec54d /lib | |
parent | d3f8b71c4284c311ae677402040872e857bf2799 (diff) |
use MATCH()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/res_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/res_init.c b/lib/libc/net/res_init.c index 46b93611269..81ea50b0fb2 100644 --- a/lib/libc/net/res_init.c +++ b/lib/libc/net/res_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_init.c,v 1.11 1997/03/13 19:07:38 downsj Exp $ */ +/* $OpenBSD: res_init.c,v 1.12 1997/04/03 05:53:46 deraadt Exp $ */ /* * ++Copyright++ 1985, 1989, 1993 @@ -60,7 +60,7 @@ static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93"; static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $"; #else -static char rcsid[] = "$OpenBSD: res_init.c,v 1.11 1997/03/13 19:07:38 downsj Exp $"; +static char rcsid[] = "$OpenBSD: res_init.c,v 1.12 1997/04/03 05:53:46 deraadt Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -269,7 +269,7 @@ res_init() continue; } /* lookup types */ - if (!strncmp(buf, "lookup", sizeof("lookup") -1)) { + if (MATCH(buf, "lookup")) { char *sp = NULL; bzero(_res.lookups, sizeof _res.lookups); |