]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
don't fall through the if
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Aug 2007 14:10:51 +0000 (14:10 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Aug 2007 14:10:51 +0000 (14:10 +0000)
git-svn-id: file:///svn/unbound/trunk@472 be551aaa-1e26-0410-a405-d3ace91eadb9

iterator/iterator.c

index 413e4f3ec6fffbdcfcc74891f7b25f93a100c314..f964d06a65bf9b712c1c15dd0d44258d6a788eee 100644 (file)
@@ -1398,7 +1398,7 @@ iter_inform_super(struct module_qstate* qstate, int id,
 {
        if(qstate->return_rcode != LDNS_RCODE_NOERROR)
                error_supers(qstate, id, super);
-       if(qstate->is_priming)
+       else if(qstate->is_priming)
                prime_supers(qstate, id, super);
        else    processTargetResponse(qstate, id, super);
 }