You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/11/08 18:47:39 UTC
[trafficserver] branch 9.2.x updated: Fix traffic_manager build
when mime-sanity-check is enabled (#8438)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 4926e51 Fix traffic_manager build when mime-sanity-check is enabled (#8438)
4926e51 is described below
commit 4926e5180c73546cc78400ccd3bda2628d0dfd8a
Author: Jean Baptiste Favre <gi...@jbfavre.org>
AuthorDate: Wed Oct 20 20:18:25 2021 +0200
Fix traffic_manager build when mime-sanity-check is enabled (#8438)
(cherry picked from commit f02b045dc44e1c37014c2db8b90548b511b95d28)
---
proxy/hdrs/MIME.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/hdrs/MIME.cc b/proxy/hdrs/MIME.cc
index b88c5d5..14e7ce3 100644
--- a/proxy/hdrs/MIME.cc
+++ b/proxy/hdrs/MIME.cc
@@ -557,7 +557,7 @@ checksum_block(const char *s, int len)
return sum;
}
-#ifdef DEBUG
+#ifdef ENABLE_MIME_SANITY_CHECK
void
mime_hdr_sanity_check(MIMEHdrImpl *mh)
{