]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: visually show the input line on empty args
authorWilly Tarreau <w@1wt.eu>
Mon, 5 May 2025 14:13:33 +0000 (16:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 5 May 2025 14:17:24 +0000 (16:17 +0200)
commit08d3caf30eefbc41f324e307ee8e62a319abfd0f
tree6d73d02547ccf27d4542e836e4e50e1230d70a4f
parent3f2c8af313494efd1000e5fcae313d8e6fa15976
MINOR: cfgparse: visually show the input line on empty args

Now when an empty arg is found on a line, we emit the sanitized
input line and the position of the first empty arg so as to help
the user figure the cause (likely an empty environment variable).

Co-authored-by: Valentine Krasnobaeva <vkrasnobaeva@haproxy.com>
src/cfgparse.c