diff options
-rw-r--r-- | src/libserver/redis_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/redis_pool.c b/src/libserver/redis_pool.c index 7e835013c..da97c601d 100644 --- a/src/libserver/redis_pool.c +++ b/src/libserver/redis_pool.c @@ -212,7 +212,7 @@ rspamd_redis_conn_timeout (EV_P_ ev_timer *w, int revents) conn->ctx, conn->ref.refcount); /* Prevent reusing */ if (conn->entry) { - g_queue_unlink (conn->elt->inactive, conn->entry); + g_queue_delete_link (conn->elt->inactive, conn->entry); conn->entry = NULL; } |