mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
dnstap io, fix for msg queue cleanup and make test.
This commit is contained in:
parent
c3712a288f
commit
b3bf416888
@ -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 New Issue
Block a user