diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-16 10:34:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-16 10:34:57 +0100 |
commit | 7a1db4723f50b0d9cdaab52aa84851c54f5ff3c2 (patch) | |
tree | 58648619cfce7e1e1572f0f1cd87ec364cc62935 /src/libserver/redis_pool.cxx | |
parent | 69b9f040bc6e9877c0cb9eb467fd56fb5785fc43 (diff) | |
download | rspamd-7a1db4723f50b0d9cdaab52aa84851c54f5ff3c2.tar.gz rspamd-7a1db4723f50b0d9cdaab52aa84851c54f5ff3c2.zip |
[Minor] Fix list splice
Diffstat (limited to 'src/libserver/redis_pool.cxx')
-rw-r--r-- | src/libserver/redis_pool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |