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 2019/12/22 19:59:02 UTC
[trafficserver] branch 9.0.x updated: Fix TS_USE_DIAGS usage for
--disable-diags option
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 <ma...@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 { \