trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [trafficserver] branch 9.0.x updated: Fix TS_USE_DIAGS usage for --disable-diags option
Date Sun, 22 Dec 2019 19:59:02 GMT
This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 06907ca  Fix TS_USE_DIAGS usage for --disable-diags option
06907ca is described below

commit 06907caeb1a359fc96ae783f3edef2e46b597910
Author: Masaori Koshiba <masaori@apache.org>
AuthorDate: Fri Dec 13 09:29:57 2019 +0900

    Fix TS_USE_DIAGS usage for --disable-diags option
    
    (cherry picked from commit 9987d720ef75010612972695c8ac1ca4eefa555f)
---
 include/tscore/Diags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tscore/Diags.h b/include/tscore/Diags.h
index f9e8a2d..a6274c6 100644
--- a/include/tscore/Diags.h
+++ b/include/tscore/Diags.h
@@ -312,7 +312,7 @@ extern inkcoreapi Diags *diags;
 #define AlertV(fmt, ap) DiagsErrorV(DL_Alert, fmt, ap)
 #define EmergencyV(fmt, ap) DiagsErrorV(DL_Emergency, fmt, ap)
 
-#ifdef TS_USE_DIAGS
+#if TS_USE_DIAGS
 
 #define Diag(tag, ...)                                 \
   do {                                                 \


Mime
View raw message