mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-29 01:47:32 -05:00
- Attempt to remove warning about trailing whitespace.
git-svn-id: file:///svn/unbound/trunk@4569 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
3b25c475f5
commit
a5fbb38fe2
1 changed files with 6 additions and 6 deletions
|
|
@ -228,12 +228,12 @@ Index: unbound-1.7.0~rc1/daemon/worker.c
|
|||
h = query_info_hash(lookup_qinfo, sldns_buffer_read_u16_at(c->buffer, 2));
|
||||
if((e=slabhash_lookup(worker->env.msg_cache, h, lookup_qinfo, 0))) {
|
||||
/* answer from cache - we have acquired a readlock on it */
|
||||
- if(answer_from_cache(worker, &qinfo,
|
||||
+ ret = answer_from_cache(worker, &qinfo,
|
||||
- if(answer_from_cache(worker, &qinfo,
|
||||
+ ret = answer_from_cache(worker, &qinfo,
|
||||
cinfo, &need_drop, &alias_rrset, &partial_rep,
|
||||
(struct reply_info*)e->data,
|
||||
*(uint16_t*)(void *)sldns_buffer_begin(c->buffer),
|
||||
sldns_buffer_read_u16_at(c->buffer, 2), repinfo,
|
||||
(struct reply_info*)e->data,
|
||||
*(uint16_t*)(void *)sldns_buffer_begin(c->buffer),
|
||||
sldns_buffer_read_u16_at(c->buffer, 2), repinfo,
|
||||
- &edns)) {
|
||||
+ &edns);
|
||||
+#ifdef ENABLE_FASTRPZ
|
||||
|
|
@ -3118,7 +3118,7 @@ Index: unbound-1.7.0~rc1/services/cache/dns.c
|
|||
struct regional* region, uint32_t flags)
|
||||
{
|
||||
struct reply_info* rep = NULL;
|
||||
+
|
||||
+
|
||||
+#ifdef ENABLE_FASTRPZ
|
||||
+ /* Never save RPZ rewritten data. */
|
||||
+ if (msgrep->security == sec_status_rpz_drop ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue