mirror of https://github.com/getdnsapi/getdns.git
Clang bitfield issue
This commit is contained in:
parent
025f1cdff3
commit
543435d89d
|
@ -20,5 +20,5 @@ addons:
|
||||||
script:
|
script:
|
||||||
- mkdir tests
|
- mkdir tests
|
||||||
- cd tests
|
- cd tests
|
||||||
- ../src/test/tpkg/run-all.sh
|
# - ../src/test/tpkg/run-all.sh
|
||||||
# - ../src/test/tpkg/run-one.sh 400-static-analysis -V
|
- ../src/test/tpkg/run-one.sh 225-stub-only-valgrind-checks
|
||||||
|
|
|
@ -116,7 +116,7 @@ _getdns_check_dns_req_complete(getdns_dns_req *dns_req)
|
||||||
|
|
||||||
/* Do we have to check more suffixes on nxdomain/nodata?
|
/* Do we have to check more suffixes on nxdomain/nodata?
|
||||||
*/
|
*/
|
||||||
if (dns_req->is_dns_request &&
|
if (dns_req->is_dns_request == 1 &&
|
||||||
dns_req->suffix_appended && /* Something was appended */
|
dns_req->suffix_appended && /* Something was appended */
|
||||||
dns_req->suffix_len > 1 && /* Next suffix available */
|
dns_req->suffix_len > 1 && /* Next suffix available */
|
||||||
no_answer(dns_req)) {
|
no_answer(dns_req)) {
|
||||||
|
@ -153,7 +153,7 @@ _getdns_check_dns_req_complete(getdns_dns_req *dns_req)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else if (
|
} else if (
|
||||||
dns_req->is_dns_request &&
|
dns_req->is_dns_request == 1 &&
|
||||||
( dns_req->append_name ==
|
( dns_req->append_name ==
|
||||||
GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE ||
|
GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE ||
|
||||||
dns_req->append_name ==
|
dns_req->append_name ==
|
||||||
|
@ -206,7 +206,7 @@ _getdns_check_dns_req_complete(getdns_dns_req *dns_req)
|
||||||
} else if (! results_found)
|
} else if (! results_found)
|
||||||
_getdns_call_user_callback(dns_req, NULL);
|
_getdns_call_user_callback(dns_req, NULL);
|
||||||
else if (
|
else if (
|
||||||
dns_req->is_dns_request &&
|
dns_req->is_dns_request == 1 &&
|
||||||
(dns_req->dnssec_return_validation_chain
|
(dns_req->dnssec_return_validation_chain
|
||||||
#ifdef DNSSEC_ROADBLOCK_AVOIDANCE
|
#ifdef DNSSEC_ROADBLOCK_AVOIDANCE
|
||||||
|| ( dns_req->dnssec_roadblock_avoidance
|
|| ( dns_req->dnssec_roadblock_avoidance
|
||||||
|
@ -343,7 +343,7 @@ _getdns_netreq_change_state(
|
||||||
if (!netreq)
|
if (!netreq)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!netreq->owner->is_dns_request) {
|
if (netreq->owner->is_dns_request == 0) {
|
||||||
netreq->state = new_state;
|
netreq->state = new_state;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue