summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-04-21 09:50:52 +0000
committerru <ru@FreeBSD.org>2004-04-21 09:50:52 +0000
commita2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b (patch)
tree602d65cb5db6dde9cede5d20aa086a230f222bfc /lib/libc
parent15ca1ccb2d564797fa05583bde39c176bfc04e50 (diff)
downloadFreeBSD-src-a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b.zip
FreeBSD-src-a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b.tar.gz
Unbreak world.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/res_query.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/net/res_query.c b/lib/libc/net/res_query.c
index 11b43b8..68ac05c 100644
--- a/lib/libc/net/res_query.c
+++ b/lib/libc/net/res_query.c
@@ -193,7 +193,6 @@ res_search(name, class, type, answer, anslen)
int anslen; /* size of answer */
{
const char *cp, * const *domain;
- HEADER *hp = (HEADER *) answer;
u_int dots;
int trailing_dot, ret, saved_herrno;
int got_nodata = 0, got_servfail = 0, tried_as_is = 0;
@@ -277,8 +276,8 @@ res_search(name, class, type, answer, anslen)
* This can occur due to a server failure
* (that is, all listed servers have failed),
* or all listed servers have timed out.
- * hp->rcode may not be set to SERVFAIL in the
- * case of a timeout.
+ * ((HEADER *)answer)->rcode may not be set
+ * to SERVFAIL in the case of a timeout.
*
* Either way we must terminate the search
* and return TRY_AGAIN in order to avoid
OpenPOWER on IntegriCloud