]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: vars: Make vars_(un|)set_by_name(_ifexist|) return a success value
authorTim Duesterhus <tim@bastelstu.be>
Tue, 19 May 2020 11:49:40 +0000 (13:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 May 2020 06:12:27 +0000 (08:12 +0200)
commitb4fac1eb3cca9692b317d16ec3fb881069781ff1
tree302ff0e2a5a2f020b4a2df26605c5c593ebf1a8a
parent7329327333d48332638b9c2d8fc81fb0702d7d16
MINOR: vars: Make vars_(un|)set_by_name(_ifexist|) return a success value

Change the return type from `void` to `int` and return whether setting
the variable was successful.
include/proto/vars.h
src/vars.c