MINOR: tcp: avoid confusion in time parsing init
authorWilliam Dauchy <w.dauchy@criteo.com>
Wed, 23 Oct 2019 17:31:36 +0000 (19:31 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Oct 2019 08:25:00 +0000 (10:25 +0200)
commitb705b4d7d308d1132a772f3ae2d6113447022a60
treefda7d465d22c16d5bf9ee69aea02887bb9735f7c
parent705e088f0aa72289e26f084261be7010066d73d2
MINOR: tcp: avoid confusion in time parsing init

We never enter val_fc_time_value when an associated fetcher such as `fc_rtt` is
called without argument.  meaning `type == ARGT_STOP` will never be true and so
the default `data.sint = TIME_UNIT_MS` will never be set.  remove this part to
avoid thinking default data.sint is set to ms while reading the code.

Signed-off-by: William Dauchy <w.dauchy@criteo.com>

[Cf: This patch may safely backported as far as 1.7. But no matter if not.]
src/proto_tcp.c