version 1.1.1.1, 2012/10/09 09:06:54
|
version 1.1.1.1.2.1, 2013/07/22 12:54:39
|
Line 295 get_soa(res_state statp, const char *dname, ns_class c
|
Line 295 get_soa(res_state statp, const char *dname, ns_class c
|
const u_char *rdata; |
const u_char *rdata; |
ns_rr rr; |
ns_rr rr; |
|
|
rcode = ns_parserr(&msg, sect, i, &rr) < 0; | rcode = ns_parserr(&msg, sect, i, &rr); |
if (rcode != ISC_R_SUCCESS) { |
if (rcode != ISC_R_SUCCESS) { |
DPRINTF(("get_soa: ns_parserr(%s, %d) failed", |
DPRINTF(("get_soa: ns_parserr(%s, %d) failed", |
p_section(sect, ns_o_query), i)); |
p_section(sect, ns_o_query), i)); |
Line 589 do_query(res_state statp, const char *dname, ns_class
|
Line 589 do_query(res_state statp, const char *dname, ns_class
|
DPRINTF(("do_query: res_nsend returned 0")); |
DPRINTF(("do_query: res_nsend returned 0")); |
return ISC_R_NOTFOUND; |
return ISC_R_NOTFOUND; |
} |
} |
if (ns_initparse((u_char *)resp, n, msg) < 0) { | if (ns_initparse((u_char *)resp, n, msg)) { |
DPRINTF(("do_query: ns_initparse failed")); |
DPRINTF(("do_query: ns_initparse failed")); |
return ISC_R_NOSPACE; |
return ISC_R_NOSPACE; |
} |
} |