| 808 |
|
if ((header->rcode != NO_ERRORS) || (header->ancount == 0)) |
| 809 |
|
{ |
| 810 |
|
if (SERVFAIL == header->rcode) |
| 811 |
< |
resend_query(request); |
| 811 |
> |
{ |
| 812 |
> |
/* |
| 813 |
> |
* If a bad error was returned, we stop here and dont send |
| 814 |
> |
* send any more (no retries granted). |
| 815 |
> |
*/ |
| 816 |
> |
(*request->query->callback)(request->query->ptr, NULL); |
| 817 |
> |
rem_request(request); |
| 818 |
> |
} |
| 819 |
|
else |
| 820 |
|
{ |
| 821 |
|
/* |
| 837 |
|
request->retries--; |
| 838 |
|
resend_query(request); |
| 839 |
|
} |
| 833 |
– |
else |
| 840 |
|
#endif |
| 835 |
– |
{ |
| 836 |
– |
/* |
| 837 |
– |
* If a bad error was returned, we stop here and dont send |
| 838 |
– |
* send any more (no retries granted). |
| 839 |
– |
*/ |
| 840 |
– |
(*request->query->callback)(request->query->ptr, NULL); |
| 841 |
– |
rem_request(request); |
| 842 |
– |
} |
| 841 |
|
} |
| 842 |
|
|
| 843 |
|
return; |