BUG/MINOR: opentracing: setting the return value in function flt_ot_var_set()

Function flt_ot_var_set() did not check whether the variable was
successfully set or not.  In case of failure, the value -1 is returned.

This patch must be backported as far as 2.4.

(cherry picked from commit 728627f932fcc9e07df7d2af3e0df9f50102203a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit cdb27fd2c02ccfad48634c7f17f5d169a6ebac78)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed