mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-30 21:54:57 +02:00
Check right value.
git-svn-id: file:///svn/unbound/trunk@1655 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+1
-1
@@ -790,7 +790,7 @@ int mesh_state_add_cb(struct mesh_state* s, struct edns_data* edns,
|
||||
if(!r)
|
||||
return 0;
|
||||
r->buf = buf;
|
||||
log_assert(fptr_whitelist_mesh_cb(r->cb)); /* early failure ifmissing*/
|
||||
log_assert(fptr_whitelist_mesh_cb(cb)); /* early failure ifmissing*/
|
||||
r->cb = cb;
|
||||
r->cb_arg = cb_arg;
|
||||
r->edns = *edns;
|
||||
|
||||
Reference in New Issue
Block a user