From cf684229b02951f57ef8e1ba6b3814f56bec2747 Mon Sep 17 00:00:00 2001 From: CArg22 <167352598+CArg22@users.noreply.github.com> Date: Thu, 9 Jan 2025 15:53:01 +0100 Subject: [PATCH] Put fprintf into macro guard --- vendor/ehs/httprequest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/ehs/httprequest.cpp b/vendor/ehs/httprequest.cpp index dfc5b4d6b3..fd7075a2f7 100644 --- a/vendor/ehs/httprequest.cpp +++ b/vendor/ehs/httprequest.cpp @@ -464,7 +464,9 @@ HttpRequest::HttpParseStates HttpRequest::ParseData ( std::string & irsData ///< if ( sName == "Transfer-Encoding" && sValue == "chunked" ) { +#ifdef EHS_DEBUG fprintf ( stderr, "EHS DOES NOT SUPPORT CHUNKED ENCODING. Send an email to xaxxon@slackworks.com and tell him you want chunked encoding (or send a patch)\n" ); +#endif nCurrentHttpParseState = HTTPPARSESTATE_INVALIDREQUEST; }