commit 7a1db47: [Minor] Fix list splice
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Sep 16 09:42:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-09-16 10:34:57 +0100
URL: https://github.com/rspamd/rspamd/commit/7a1db4723f50b0d9cdaab52aa84851c54f5ff3c2 (HEAD -> master)
[Minor] Fix list splice
---
src/libserver/redis_pool.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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));
}
More information about the Commits
mailing list