CLEANUP: opentracing: added variable to store variable length
The same variable should not be used to store multiple different results,
because it can be confusing. Therefore, the var_name_len variable has
been added in several functions, in order to avoid the use of the retval
variable for several different purposes.
This patch must be backported as far as 2.4.
(cherry picked from commit aec19a7d0d6742ba3ad1f757779b8d384bd1243c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d2fca58d70b87cba68594e23d7d771b883b3f74c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed