diff options
author | ru <ru@FreeBSD.org> | 2004-04-21 09:50:52 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-21 09:50:52 +0000 |
commit | a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b (patch) | |
tree | 602d65cb5db6dde9cede5d20aa086a230f222bfc /lib/libc | |
parent | 15ca1ccb2d564797fa05583bde39c176bfc04e50 (diff) | |
download | FreeBSD-src-a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b.zip FreeBSD-src-a2a9798706fbd65b26aa9fbc8c2a8156f0aadb3b.tar.gz |
Unbreak world.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/res_query.c | 5 |
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 |