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 2013/10/17 07:39:14 UTC

git commit: Quiet a benign compiler warning on OSX

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 <zw...@apache.org>
Authored: Tue Oct 15 11:48:58 2013 -0600
Committer: Leif Hedstrom <zw...@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
 {