mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-31 11:59:36 -05:00
lint fixes.
git-svn-id: file:///svn/unbound/trunk@2649 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b441875206
commit
eb926f15da
2 changed files with 2 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ read_forwards(struct iter_forwards* fwd, struct config_file* cfg)
|
|||
/* the flag is turned off for 'forward-first' so that the
|
||||
* last resort will ask for parent-side NS record and thus
|
||||
* fallback to the internet name servers on a failure */
|
||||
dp->has_parent_side_NS = !s->isfirst;
|
||||
dp->has_parent_side_NS = (uint8_t)!s->isfirst;
|
||||
if(!forwards_insert(fwd, LDNS_RR_CLASS_IN, dp))
|
||||
return 0;
|
||||
verbose(VERB_QUERY, "Forward zone server list:");
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ read_stubs(struct iter_hints* hints, struct config_file* cfg)
|
|||
/* the flag is turned off for 'stub-first' so that the
|
||||
* last resort will ask for parent-side NS record and thus
|
||||
* fallback to the internet name servers on a failure */
|
||||
dp->has_parent_side_NS = !s->isfirst;
|
||||
dp->has_parent_side_NS = (uint8_t)!s->isfirst;
|
||||
if(!hints_insert(hints, LDNS_RR_CLASS_IN, dp, !s->isprime))
|
||||
return 0;
|
||||
delegpt_log(VERB_QUERY, dp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue