]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: The c_str2int converter does not fail if the entry is not an integer
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 27 Jan 2014 17:20:48 +0000 (18:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Jan 2014 18:04:18 +0000 (19:04 +0100)
commit60bb020d702d04076ff16c9cf09c67c6bf7bb638
tree8667db7ee779d979cf1a9b65ef4d2b90c190e296
parent59ad9d65939c07e5dc83332b68817a1cdcf80729
BUG/MINOR: sample: The c_str2int converter does not fail if the entry is not an integer

If the string not start with a number, the converter fails. In other, it
converts a maximum of characters to a number and stop to the first
character that not match a number.
src/sample.c