Skip to content

Commit 47fd444

Browse files
committed
Fix debug option
1 parent d622d81 commit 47fd444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_http.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ struct Client final {
694694

695695
curlWrapper.execute_header_callback(curl_header_callback);
696696
curlWrapper.add_option(CURLOPT_URL, url.value().c_str());
697-
curlWrapper.add_option(CURLOPT_VERBOSE, debug_);
697+
curlWrapper.add_option(CURLOPT_VERBOSE, debug_ ? 1L : 0L);
698698

699699
if (url.protocol().value() == "https") {
700700
verify_

0 commit comments

Comments
 (0)