]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: opentracing: added variable to store variable length
authorMiroslav Zagorac <mzagorac@haproxy.com>
Tue, 1 Mar 2022 17:44:36 +0000 (18:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Apr 2022 14:31:33 +0000 (16:31 +0200)
commitaec19a7d0d6742ba3ad1f757779b8d384bd1243c
tree59529d628d4444bcc398884e1179d611521469b5
parent854efefd6cf43018efcdeb0da2c06cc19fd00980
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.
addons/ot/src/vars.c