From: Vsevolod Stakhov Date: Thu, 16 Sep 2021 09:34:57 +0000 (+0100) Subject: [Minor] Fix list splice X-Git-Tag: 3.1~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a1db4723f50b0d9cdaab52aa84851c54f5ff3c2;p=rspamd.git [Minor] Fix list splice --- diff --git a/src/libserver/redis_pool.cxx b/src/libserver/redis_pool.cxx index 8a460b7fe..8cdb12587 100644 --- a/src/libserver/redis_pool.cxx +++ b/src/libserver/redis_pool.cxx @@ -145,7 +145,7 @@ public: auto move_to_terminating(redis_pool_connection *conn) -> void { - terminating.splice(std::end(terminating), terminating, conn->elt_pos); + terminating.splice(std::end(terminating), inactive, conn->elt_pos); conn->elt_pos = std::prev(std::end(terminating)); }