From ed57d2de988516bf1c06f8bdf94007d5ecd7f9b3 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 13 Aug 2025 12:42:04 +0200 Subject: [PATCH] RequestServer: Don't return unused bool when setting curl options --- Services/RequestServer/ConnectionFromClient.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Services/RequestServer/ConnectionFromClient.cpp b/Services/RequestServer/ConnectionFromClient.cpp index 403430ccc34..0a5a0e996e0 100644 --- a/Services/RequestServer/ConnectionFromClient.cpp +++ b/Services/RequestServer/ConnectionFromClient.cpp @@ -500,11 +500,8 @@ void ConnectionFromClient::start_request(i32 request_id, ByteString method, URL: auto set_option = [easy](auto option, auto value) { auto result = curl_easy_setopt(easy, option, value); - if (result != CURLE_OK) { + if (result != CURLE_OK) dbgln("StartRequest: Failed to set curl option: {}", curl_easy_strerror(result)); - return false; - } - return true; }; set_option(CURLOPT_PRIVATE, request.ptr());