Skip to content

Commit

Permalink
tcp_info plugin build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeach committed Apr 10, 2014
1 parent e503ce0 commit b514248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/experimental/tcp_info/tcp_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b514248

Please sign in to comment.