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:48 UTC

[trafficserver] branch 9.1.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.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.1.x by this push:
     new 3aa4026  Fix traffic_manager build when mime-sanity-check is enabled (#8438)
3aa4026 is described below

commit 3aa4026ac2697611b0a7a50a6e71f33b5e40fffd
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 3bf69fb..729ec9d 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)
 {