]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: args: add missing entry for ARGT_MAP in arg_type_names
authorWilly Tarreau <w@1wt.eu>
Mon, 19 Jan 2015 17:58:20 +0000 (18:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Jan 2015 15:06:53 +0000 (16:06 +0100)
This type is currently not used in an argument so it's harmles. But
better correctly fill the name.

src/arg.c

index edaeee7607db69d556a05f89567e50c00d8931ba..f23ee0243a5ec028b8c94cc8256c95fddea71c9b 100644 (file)
--- a/src/arg.c
+++ b/src/arg.c
@@ -33,6 +33,7 @@ static const char *arg_type_names[ARGT_NBTYPES] = {
        [ARGT_TAB]  = "table",
        [ARGT_SRV]  = "server",
        [ARGT_USR]  = "user list",
+       [ARGT_MAP]  = "map",
        /* Unassigned types must never happen. Better crash during parsing if they do. */
 };