aboutsummaryrefslogtreecommitdiff
path: root/tests/server/getpart.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-07-14 18:33:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-07-14 22:48:29 +0200
commitf5005dd8d0afc6a2774e43f5688fecc6a192b38a (patch)
tree73cd1dca771ffbaa7ef9c717eb6b2f2aaaa5c2fa /tests/server/getpart.h
parentd3aaa68f55137bfa6443ddfbb6d084d5f8084f97 (diff)
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.
Diffstat (limited to 'tests/server/getpart.h')
0 files changed, 0 insertions, 0 deletions