if things go badly wrong *and* a really unlikely race happens.
+ * If we get a referral, don't also always complain falsely about RD==0.
act is zero. This might possibly cause an infinite delay (ie, lockup)
if things go badly wrong *and* a really unlikely race happens.
* Test suite `lines of syscall left' value is correct; !0 is failure.
act is zero. This might possibly cause an infinite delay (ie, lockup)
if things go badly wrong *and* a really unlikely race happens.
* Test suite `lines of syscall left' value is correct; !0 is failure.
+ * If we get a referral, don't also always complain falsely about RD==0.
Portability fixes:
* install-sh (from autoconf 2.12 Debian r13) included.
Portability fixes:
* install-sh (from autoconf 2.12 Debian r13) included.
if (cname_here) goto x_restartquery;
/* Bloody hell, I thought we asked for recursion ? */
if (cname_here) goto x_restartquery;
/* Bloody hell, I thought we asked for recursion ? */
- if (flg_rd) {
- adns__diag(ads,serv,qu,"server thinks we didn't ask for recursive lookup");
- }
if (!flg_ra) {
adns__diag(ads,serv,qu,"server is not willing to do recursive lookups for us");
adns__query_fail(qu,adns_s_norecurse);
} else {
if (!flg_ra) {
adns__diag(ads,serv,qu,"server is not willing to do recursive lookups for us");
adns__query_fail(qu,adns_s_norecurse);
} else {
- adns__diag(ads,serv,qu,"server claims to do recursion, but gave us a referral");
+ if (!flg_rd)
+ adns__diag(ads,serv,qu,"server thinks we didn't ask for recursive lookup");
+ else
+ adns__diag(ads,serv,qu,"server claims to do recursion, but gave us a referral");
adns__query_fail(qu,adns_s_invalidresponse);
}
return;
adns__query_fail(qu,adns_s_invalidresponse);
}
return;