diff options
Diffstat (limited to 'src/lib/libc/net/res_query.c')
-rw-r--r-- | src/lib/libc/net/res_query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_query.c b/src/lib/libc/net/res_query.c index 53837815c3..9c1aef1218 100644 --- a/src/lib/libc/net/res_query.c +++ b/src/lib/libc/net/res_query.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: res_query.c,v 1.18 2002/05/24 21:22:37 deraadt Exp $ */ | 1 | /* $OpenBSD: res_query.c,v 1.19 2002/06/27 09:55:49 itojun Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * ++Copyright++ 1988, 1993 | 4 | * ++Copyright++ 1988, 1993 |
@@ -60,7 +60,7 @@ | |||
60 | static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; | 60 | static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; |
61 | static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; | 61 | static char rcsid[] = "$From: res_query.c,v 8.9 1996/09/22 00:13:28 vixie Exp $"; |
62 | #else | 62 | #else |
63 | static char rcsid[] = "$OpenBSD: res_query.c,v 1.18 2002/05/24 21:22:37 deraadt Exp $"; | 63 | static char rcsid[] = "$OpenBSD: res_query.c,v 1.19 2002/06/27 09:55:49 itojun Exp $"; |
64 | #endif | 64 | #endif |
65 | #endif /* LIBC_SCCS and not lint */ | 65 | #endif /* LIBC_SCCS and not lint */ |
66 | 66 | ||
@@ -149,7 +149,7 @@ res_query(name, class, type, answer, anslen) | |||
149 | if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { | 149 | if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { |
150 | #ifdef DEBUG | 150 | #ifdef DEBUG |
151 | if (_res.options & RES_DEBUG) | 151 | if (_res.options & RES_DEBUG) |
152 | printf(";; rcode = %d, ancount=%d\n", hp->rcode, | 152 | printf(";; rcode = %u, ancount=%u\n", hp->rcode, |
153 | ntohs(hp->ancount)); | 153 | ntohs(hp->ancount)); |
154 | #endif | 154 | #endif |
155 | switch (hp->rcode) { | 155 | switch (hp->rcode) { |