Skip to content

Commit 17b4c57

Browse files
authored
Apply suggestions from code review
1 parent e076e1a commit 17b4c57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,16 +600,16 @@ int HttpOperation::CurlLoggerCallback(const CURL * /* handle */,
600600
}
601601
// This guard serves as a catch-all block for all other less interesting output that should
602602
// remain available for maintainer internal use and for debugging purposes only.
603-
#ifdef CURL_DEBUG
603+
#ifdef OTEL_CURL_DEBUG
604604
else
605605
{
606606
OTEL_INTERNAL_LOG_DEBUG(text_to_log);
607607
}
608-
#endif // CURL_DEBUG
608+
#endif // OTEL_CURL_DEBUG
609609
}
610610
// Same as above, this guard is meant only for internal use by maintainers, and should not be used
611611
// in production (information leak).
612-
#ifdef CURL_DEBUG
612+
#ifdef OTEL_CURL_DEBUG
613613
else if (type == CURLINFO_HEADER_OUT)
614614
{
615615
static const auto kHeaderSent = nostd::string_view("Send header => ");
@@ -630,7 +630,7 @@ int HttpOperation::CurlLoggerCallback(const CURL * /* handle */,
630630
static const auto kHeaderRecv = nostd::string_view("Recv header => ");
631631
OTEL_INTERNAL_LOG_DEBUG(kHeaderRecv << text_to_log);
632632
}
633-
#endif // CURL_DEBUG
633+
#endif // OTEL_CURL_DEBUG
634634

635635
return 0;
636636
}

0 commit comments

Comments
 (0)