From b8de3ae50484eb9e21eb94c67c754ecc27b271a5 Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 1 Aug 2018 09:24:12 +0200 Subject: [PATCH] Removed unnecessary check --- client_http.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_http.hpp b/client_http.hpp index 66fd8a8..4f22d57 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -388,7 +388,7 @@ namespace SimpleWeb { } for(auto it = connections.begin(); it != connections.end(); ++it) { - if(!(*it)->in_use && !connection) { + if(!(*it)->in_use) { connection = *it; break; }