]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: arg: improve error reporting on invalid arguments
authorWilly Tarreau <w@1wt.eu>
Fri, 27 Apr 2012 14:32:26 +0000 (16:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:20 +0000 (20:57 +0200)
commit4e6336fdfd2c0713b00f0801351216a482a179ca
treecc335376c2ae55056202d30157a20edcdecf0c8d
parentb7451bb660446d637e8ed146f8ba8981c7af2acb
MINOR: arg: improve error reporting on invalid arguments

It's important to report the faulty argument position and to distinguish
between empty arguments and wrong ones.

Integers were not properly tested either, now their parsing has been improved
to report use of incorrect characters.
src/arg.c