diff --git a/src/resolvers.c b/src/resolvers.c index 640c9c2816e5..91a5a14a57ec 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); } }