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 2014/04/17 18:44:17 UTC

[18/50] git commit: tcp_info plugin build fix

tcp_info plugin build fix


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

Branch: refs/heads/5.0.x
Commit: b514248a7e25a3080bd4abcf2ea5f34933c574ea
Parents: e503ce0
Author: James Peach <jp...@apache.org>
Authored: Thu Apr 10 15:56:07 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu Apr 10 15:56:07 2014 -0700

----------------------------------------------------------------------
 plugins/experimental/tcp_info/tcp_info.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b514248a/plugins/experimental/tcp_info/tcp_info.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/tcp_info/tcp_info.cc b/plugins/experimental/tcp_info/tcp_info.cc
index c5277a3..7835039 100644
--- a/plugins/experimental/tcp_info/tcp_info.cc
+++ b/plugins/experimental/tcp_info/tcp_info.cc
@@ -219,7 +219,7 @@ parse_unsigned(const char * str, unsigned long& lval)
     return false;
   }
 
-  if (end != '\0') {
+  if (end && *end != '\0') {
     // Not all charaters consumed.
     return false;
   }