Hopefully the last warning

This commit is contained in:
Willem Toorop 2017-07-15 18:38:31 +02:00
parent 84430e02cd
commit e11dc92df1
1 changed files with 3 additions and 7 deletions

View File

@ -3045,7 +3045,6 @@ static void check_chain_complete(chain_head *chain)
&& !dnsreq->avoid_dnssec_roadblocks && !dnsreq->avoid_dnssec_roadblocks
&& dnsreq->netreqs[0]->dnssec_status == GETDNS_DNSSEC_BOGUS) { && dnsreq->netreqs[0]->dnssec_status == GETDNS_DNSSEC_BOGUS) {
int r = GETDNS_RETURN_GOOD;
getdns_network_req **netreq_p, *netreq; getdns_network_req **netreq_p, *netreq;
uint64_t now_ms = 0; uint64_t now_ms = 0;
@ -3060,8 +3059,7 @@ static void check_chain_complete(chain_head *chain)
netreq->dnssec_status = netreq->dnssec_status =
GETDNS_DNSSEC_INDETERMINATE; GETDNS_DNSSEC_INDETERMINATE;
netreq->owner = dnsreq; netreq->owner = dnsreq;
r = _getdns_submit_netreq(netreq, &now_ms); (void) _getdns_submit_netreq(netreq, &now_ms);
DEBUG_SEC("Resubmitting main netreq returned: %d\n", r);
} }
if (!dnsreq->dnssec_return_validation_chain) if (!dnsreq->dnssec_return_validation_chain)
return; return;
@ -3079,7 +3077,7 @@ static void check_chain_complete(chain_head *chain)
NET_REQ_NOT_SENT); NET_REQ_NOT_SENT);
node->dnskey_req->owner-> node->dnskey_req->owner->
avoid_dnssec_roadblocks = 1; avoid_dnssec_roadblocks = 1;
r = _getdns_submit_netreq( (void) _getdns_submit_netreq(
node->dnskey_req, &now_ms); node->dnskey_req, &now_ms);
} }
if (node->ds_req) { if (node->ds_req) {
@ -3087,13 +3085,11 @@ static void check_chain_complete(chain_head *chain)
node->ds_req, NET_REQ_NOT_SENT); node->ds_req, NET_REQ_NOT_SENT);
node->ds_req->owner-> node->ds_req->owner->
avoid_dnssec_roadblocks = 1; avoid_dnssec_roadblocks = 1;
r = _getdns_submit_netreq( (void) _getdns_submit_netreq(
node->ds_req, &now_ms); node->ds_req, &now_ms);
} }
} }
} }
DEBUG_SEC("Outstanding requests: %d\n",
(int)count_outstanding_requests(chain));
return; return;
} }
#endif #endif