mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-24 06:00:59 +02:00
The test on "if (err)" after parsing a number was meant to be "if (*err)" but in practise it will always be true since we at least have a '\n' there, so no need for testing before writing zero. This fixes issue #1211.
This needs to be built from the top makefile, for example :
make dev/flags/flags
Then the executable is usable either one value at a time from the
command line, either with values coming from stdin with "-" passed
alone instead of the value.
It is possible to restrict the decoding to certain fields only by
specifying one of "ana", "chn", "conn", "cs", "si", "sierr", "strm",
"task", or "txn" before the value.