]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please lint again.
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Tue, 6 Dec 2016 14:41:14 +0000 (14:41 +0000)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Tue, 6 Dec 2016 14:41:14 +0000 (14:41 +0000)
git-svn-id: file:///svn/unbound/trunk@3951 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c

index fdbb3f216d6c60412b88d9b17c4b9a0dfbf50c1d..09a1465423f348e5ae9bb4c3daa79e219cb667d0 100644 (file)
@@ -491,7 +491,7 @@ answer_norec_from_cache(struct worker* worker, struct query_info* qinfo,
        edns->ext_rcode = 0;
        edns->bits &= EDNS_DO;
        if(!inplace_cb_reply_cache_call(&worker->env, qinfo, NULL, msg->rep,
-               (int)flags & LDNS_RCODE_MASK, edns, worker->scratchpad))
+               (int)(flags&LDNS_RCODE_MASK), edns, worker->scratchpad))
                        return 0;
        msg->rep->flags |= BIT_QR|BIT_RA;
        if(!reply_info_answer_encode(&msg->qinfo, msg->rep, id, flags, 
@@ -598,7 +598,7 @@ answer_from_cache(struct worker* worker, struct query_info* qinfo,
        edns->ext_rcode = 0;
        edns->bits &= EDNS_DO;
        if(!inplace_cb_reply_cache_call(&worker->env, qinfo, NULL, rep,
-               (int)flags & LDNS_RCODE_MASK, edns, worker->scratchpad))
+               (int)(flags&LDNS_RCODE_MASK), edns, worker->scratchpad))
                        return 0;
        if(!reply_info_answer_encode(qinfo, rep, id, flags, 
                repinfo->c->buffer, timenow, 1, worker->scratchpad,