]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sample: Small fix in function check_operator for eror reporting
authorLokesh Jindal <15ljindal@gmail.com>
Mon, 18 Sep 2023 04:05:34 +0000 (21:05 -0700)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Sep 2023 06:48:53 +0000 (08:48 +0200)
commitd897d7da87b8894866572c56e9c495a2b290620a
tree53e42f3e0c9ca565194d18c4d206e74a4124fab7
parent915e48675ae67ae2725f3646af37862ddaf26720
MEDIUM: sample: Small fix in function check_operator for eror reporting

When function "check_operator" calls function "vars_check_arg" to decode
a variable, it passes in NULL value for pointer to the char array meant
for capturing the error message.  This commit replaces NULL with the
pointer to the real char array.  This should help in correct error
reporting.
src/sample.c