trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [04/15] git commit: don't use TSPluginSpecific
Date Thu, 08 Aug 2013 17:46:59 GMT
don't use TSPluginSpecific

because we're don't want to depend on a txn we don't have access to as
well as a hyptothetical PLUGIN_NAME


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6d10294a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6d10294a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6d10294a

Branch: refs/heads/consistent-gzip-error-msgs
Commit: 6d10294ae5116432555a66ddc9c99eb3925418af
Parents: 4c57a1f
Author: Igor Galić <i.galic@brainsware.org>
Authored: Thu Aug 8 16:22:33 2013 +0200
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Thu Aug 8 19:39:03 2013 +0200

----------------------------------------------------------------------
 proxy/api/ts/ts.h.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6d10294a/proxy/api/ts/ts.h.in
----------------------------------------------------------------------
diff --git a/proxy/api/ts/ts.h.in b/proxy/api/ts/ts.h.in
index 7bd2453..05f2fe5 100644
--- a/proxy/api/ts/ts.h.in
+++ b/proxy/api/ts/ts.h.in
@@ -1305,21 +1305,21 @@ extern "C"
   } while (0)
 
 #define TSPluginInfo(fmt, args...) do {                                    \
-  TSDebugSpecific(PLUGIN_NAME, "INFO: " fmt, ##args ); \
+  TSDebug(PLUGIN_NAME, "INFO: " fmt, ##args ); \
   } while (0)
 
 #define TSPluginWarning(fmt, args...) do {                                    \
-  TSDebugSpecific(PLUGIN_NAME, "WARNING: " fmt, ##args ); \
+  TSDebug(PLUGIN_NAME, "WARNING: " fmt, ##args ); \
 } while (0)
 
 #define TSPluginError(fmt, args...) do {                                    \
   TSError("[%s] [%s:%d] [%s] ERROR: " fmt, PLUGIN_NAME, __FILE__, __LINE__, __FUNCTION__
, ##args ); \
-  TSDebugSpecific(PLUGIN_NAME, "[%s:%d] [%s] ERROR: " fmt, __FILE__, __LINE__, __FUNCTION__
, ##args ); \
+  TSDebug(PLUGIN_NAME, "[%s:%d] [%s] ERROR: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args
); \
 } while (0)
 
 #define TSPluginFatal(fmt, args...) do {                                    \
   TSError("[%s] [%s:%d] [%s] FATAL: " fmt, PLUGIN_NAME, __FILE__, __LINE__, __FUNCTION__
, ##args ); \
-  TSDebugSpecific(PLUGIN_NAME, "[%s:%d] [%s] FATAL: " fmt, __FILE__, __LINE__, __FUNCTION__
, ##args ); \
+  TSDebug(PLUGIN_NAME, "[%s:%d] [%s] FATAL: " fmt, __FILE__, __LINE__, __FUNCTION__ , ##args
); \
   exit(-1); \
 } while (0)
 


Mime
View raw message