trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject git commit: Quiet a benign compiler warning on OSX
Date Thu, 17 Oct 2013 05:39:14 GMT
Updated Branches:
  refs/heads/master 0542b2abe -> 0d886aabb


Quiet a benign compiler warning on OSX


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

Branch: refs/heads/master
Commit: 0d886aabb968a312dc9f96194858aefceee69a72
Parents: 0542b2a
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Oct 15 11:48:58 2013 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Wed Oct 16 22:38:40 2013 -0700

----------------------------------------------------------------------
 plugins/experimental/buffer_upload/buffer_upload.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/0d886aab/plugins/experimental/buffer_upload/buffer_upload.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/buffer_upload/buffer_upload.cc b/plugins/experimental/buffer_upload/buffer_upload.cc
index fc496e4..3101de8 100644
--- a/plugins/experimental/buffer_upload/buffer_upload.cc
+++ b/plugins/experimental/buffer_upload/buffer_upload.cc
@@ -59,8 +59,8 @@
     return TS_ERROR;				\
   }
 
-#define VALID_PTR(X) (X != NULL)
-#define NOT_VALID_PTR(X) (X == NULL)
+#define VALID_PTR(X) (NULL != X)
+#define NOT_VALID_PTR(X) (NULL == X)
 
 struct upload_config_t
 {


Mime
View raw message