Commit f5005dd8 authored by Dave Reisner's avatar Dave Reisner Committed by Daniel Stenberg
Browse files

src/tool_paramhlp: try harder to catch negatives

strto* functions happily chomp off leading whitespace, so simply
checking for str[0] can lead to false negatives. Do the full parse and
check the out value instead.
parent d3aaa68f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment