cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH 1/3] src/tool_paramhlp: try harder to catch negatives

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 14 Jul 2013 22:49:07 +0200 (CEST)

On Sun, 14 Jul 2013, Dave Reisner wrote:

> 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.

Thanks, merged and pushed!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-14