]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sample: pass an empty list instead of a null for fetch args
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Oct 2012 17:49:09 +0000 (19:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Oct 2012 17:49:09 +0000 (19:49 +0200)
commit2e845be2492852b69b581c2fd11147633087ddab
treebdc0e5ff2d8e55eb2cfb9fdc397ca121f798018e
parentf22a50836def254c778278f3f231fd77e853e886
MEDIUM: sample: pass an empty list instead of a null for fetch args

ACL and sample fetches use args list and it is really not convenient to
check for null args everywhere. Now for empty args we pass a constant
list of end of lists. It will allow us to remove many useless checks.
include/proto/arg.h
src/acl.c
src/arg.c
src/haproxy.c
src/sample.c