Skip to content

Commit

Permalink
lib/curl/Request: remove duplicate CURLOPT_FAILONERROR call
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jul 31, 2024
1 parent 3a049ec commit 9e5adca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/curl/Request.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9e5adca

Please sign in to comment.