diff --git a/src/resolvers.c b/src/resolvers.c index 3275cd22d094..bb0211f297cd 100644 --- a/src/resolvers.c +++ b/src/resolvers.c @@ -2447,7 +2447,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); } }