diff options
author | deraadt <> | 1997-04-03 05:53:46 +0000 |
---|---|---|
committer | deraadt <> | 1997-04-03 05:53:46 +0000 |
commit | bf5e54397e67189a91130a3e8e738baef5463690 (patch) | |
tree | 1362d5aa511c7827f26c0a106c5b4c0be7f596ba | |
parent | 6540682bde97dc36f8683d79562433cba7b0dc2d (diff) | |
download | openbsd-bf5e54397e67189a91130a3e8e738baef5463690.tar.gz openbsd-bf5e54397e67189a91130a3e8e738baef5463690.tar.bz2 openbsd-bf5e54397e67189a91130a3e8e738baef5463690.zip |
use MATCH()
-rw-r--r-- | src/lib/libc/net/res_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_init.c b/src/lib/libc/net/res_init.c index 46b9361126..81ea50b0fb 100644 --- a/src/lib/libc/net/res_init.c +++ b/src/lib/libc/net/res_init.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_init.c,v 1.11 1997/03/13 19:07:38 downsj Exp $ */ | 1 | /* $OpenBSD: res_init.c,v 1.12 1997/04/03 05:53:46 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1985, 1989, 1993 | 4 | * ++Copyright++ 1985, 1989, 1993 |
@@ -60,7 +60,7 @@ | |||
60 | static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93"; | 60 | static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93"; |
61 | static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $"; | 61 | static char rcsid[] = "$From: res_init.c,v 8.7 1996/09/28 06:51:07 vixie Exp $"; |
62 | #else | 62 | #else |
63 | static char rcsid[] = "$OpenBSD: res_init.c,v 1.11 1997/03/13 19:07:38 downsj Exp $"; | 63 | static char rcsid[] = "$OpenBSD: res_init.c,v 1.12 1997/04/03 05:53:46 deraadt Exp $"; |
64 | #endif | 64 | #endif |
65 | #endif /* LIBC_SCCS and not lint */ | 65 | #endif /* LIBC_SCCS and not lint */ |
66 | 66 | ||
@@ -269,7 +269,7 @@ res_init() | |||
269 | continue; | 269 | continue; |
270 | } | 270 | } |
271 | /* lookup types */ | 271 | /* lookup types */ |
272 | if (!strncmp(buf, "lookup", sizeof("lookup") -1)) { | 272 | if (MATCH(buf, "lookup")) { |
273 | char *sp = NULL; | 273 | char *sp = NULL; |
274 | 274 | ||
275 | bzero(_res.lookups, sizeof _res.lookups); | 275 | bzero(_res.lookups, sizeof _res.lookups); |