Unbreak world.

This commit is contained in:
Ruslan Ermilov 2004-04-21 09:50:52 +00:00
parent fe44171ebd
commit 2d695ed31d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128517

View File

@ -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