mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-10 06:13:20 -05:00
dnstap io, fix for msg queue cleanup and make test.
This commit is contained in:
parent
c3712a288f
commit
b3bf416888
1 changed files with 3 additions and 1 deletions
|
|
@ -286,7 +286,9 @@ int dt_io_thread_register_queue(struct dt_io_thread* dtio,
|
|||
void dt_io_thread_unregister_queue(struct dt_io_thread* dtio,
|
||||
struct dt_msg_queue* mq)
|
||||
{
|
||||
struct dt_io_list_item* item=dtio->io_list, *prev=NULL;
|
||||
struct dt_io_list_item* item, *prev=NULL;
|
||||
if(!dtio) return;
|
||||
item = dtio->io_list;
|
||||
while(item) {
|
||||
if(item->queue == mq) {
|
||||
/* found it */
|
||||
|
|
|
|||
Loading…
Reference in a new issue