From 9e5adca0b0c3aced86e62c786594764aa7d0ad12 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 31 Jul 2024 12:30:43 +0200 Subject: [PATCH] lib/curl/Request: remove duplicate CURLOPT_FAILONERROR call --- src/lib/curl/Request.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/curl/Request.cxx b/src/lib/curl/Request.cxx index 78cc1fd..f69184b 100644 --- a/src/lib/curl/Request.cxx +++ b/src/lib/curl/Request.cxx @@ -27,7 +27,6 @@ CurlRequest::CurlRequest(CurlGlobal &_global, curl.SetPrivate(this); curl.SetUserAgent(PACKAGE "/" VERSION); curl.SetWriteFunction(WriteFunction, this); - curl.SetOption(CURLOPT_FAILONERROR, true); curl.SetOption(CURLOPT_ERRORBUFFER, error); curl.SetFailOnError();