You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/04/11 00:57:24 UTC
git commit: tcp_info plugin build fix
Repository: trafficserver
Updated Branches:
refs/heads/master e503ce048 -> b514248a7
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/master
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;
}