Skip to content

Commit afe9e5a

Browse files
committed
Code review feedback
1 parent 5dc28ab commit afe9e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/src/http/client/curl/http_operation_curl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ CURLcode HttpOperation::Setup()
658658
return rc;
659659
}
660660
#else
661-
rc = SetCurlLongOption(CURLOPT_VERBOSE, static_cast<long>(is_log_enabled_ || kEnableCurlLogging));
661+
rc = SetCurlLongOption(CURLOPT_VERBOSE, (is_log_enabled_ && kEnableCurlLogging) ? 1L : 0L;
662662
if (rc != CURLE_OK)
663663
{
664664
return rc;

0 commit comments

Comments
 (0)