From 33ab45557a946a367d561cb7bb42f08e10cbff43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 17 Sep 2023 17:39:17 +0200 Subject: [PATCH] remove redundant log --- Common/Net/HTTPClient.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Common/Net/HTTPClient.cpp b/Common/Net/HTTPClient.cpp index 0cb884578086..c5c72d1a22b9 100644 --- a/Common/Net/HTTPClient.cpp +++ b/Common/Net/HTTPClient.cpp @@ -150,11 +150,6 @@ bool Connection::Connect(int maxTries, double timeout, bool *cancelConnect) { } } - if (sockets.empty()) { - ERROR_LOG(HTTP, "No resolved address would connect!"); - // TODO: What do we do here? - } - int selectResult = 0; long timeoutHalfSeconds = floor(2 * timeout); while (timeoutHalfSeconds >= 0 && selectResult == 0) {