diff --git a/src/resolvers.c b/src/resolvers.c index ed96c4eb5c23b..88746898098f2 100644 --- a/src/resolvers.c +++ b/src/resolvers.c @@ -2531,7 +2531,7 @@ struct task *process_resolvers(struct task *t, void *context, unsigned int state if (resolv_run_resolution(res) != 1) { res->last_resolution = now_ms; LIST_DEL_INIT(&res->list); - LIST_APPEND(&resolvers->resolutions.wait, &res->list); + LIST_INSERT(&resolvers->resolutions.wait, &res->list); } }