MINOR: standard: The parse_binary() returns the length consumed and his documentation...
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 21 Jan 2014 10:36:14 +0000 (11:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Jan 2014 21:14:44 +0000 (22:14 +0100)
commitee330afba09bf82e52c6f74fae45c17104efea90
treee442b302c7558f53ca3639555f71cb8ffb3ca893
parente7ba23633bd8f457f1cfb2bd9d5bd80f8e9d831a
MINOR: standard: The parse_binary() returns the length consumed and his documentation is updated

Actually the values returned by this function is never used. All the
callers just check if the resultat is non-zero. Before this patch, the
function returns the length of the produced content. This value is not
useful because is returned twice: the first time in the return value and
the second time in the <binstrlen> argument. Now the function returns
the number of bytes consumed from <source>.
src/standard.c