assign cb_arg

git-svn-id: file:///svn/unbound/trunk@4096 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2017-04-06 13:47:46 +00:00
parent ae31233b19
commit 5591fdff8d

View file

@ -143,6 +143,7 @@ inplace_cb_register(void* cb, enum inplace_cb_list_type type, void* cbarg,
callback->id = id;
callback->next = NULL;
callback->cb = cb;
callback->cb_arg = cbarg;
prevp = (struct inplace_cb**) &env->inplace_cb_lists[type];
/* append at end of list */