We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc28ab commit afe9e5aCopy full SHA for afe9e5a
ext/src/http/client/curl/http_operation_curl.cc
@@ -658,7 +658,7 @@ CURLcode HttpOperation::Setup()
658
return rc;
659
}
660
#else
661
- rc = SetCurlLongOption(CURLOPT_VERBOSE, static_cast<long>(is_log_enabled_ || kEnableCurlLogging));
+ rc = SetCurlLongOption(CURLOPT_VERBOSE, (is_log_enabled_ && kEnableCurlLogging) ? 1L : 0L;
662
if (rc != CURLE_OK)
663
{
664
0 commit comments