]> git.kaiwu.me - haproxy.git/commit
[MINOR] config: provide a function to quote args in a more friendly way
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 17:09:21 +0000 (19:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 17:09:21 +0000 (19:09 +0200)
commitacf9577350e1e9e739f09db6349549c98aa6a88c
tree3ed3547b3f6b6f5b8beb64f412b91f8575c2088f
parentf53568312390a894f2b4280b75eca8eab509bc82
[MINOR] config: provide a function to quote args in a more friendly way

The quote_arg() function can be used to quote an argument or indicate
"end of line" if it's null or empty. It should be useful to more precisely
report location of problems in the configuration.
include/common/standard.h
src/standard.c