mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-11 03:31:36 +00:00
BUG/MEDIUM: cache fix cli_kws structure
The cli_kws structure was not ended and was causing undefined behavior.
This commit is contained in:
parent
55e7674bc4
commit
e899af89b5
@ -920,10 +920,8 @@ static int cli_io_handler_show_cache(struct appctx *appctx)
|
||||
}
|
||||
|
||||
static struct cli_kw_list cli_kws = {{},{
|
||||
{ { "show", "cache", NULL },
|
||||
"show cache : show cache status",
|
||||
cli_parse_show_cache, cli_io_handler_show_cache, NULL,
|
||||
},
|
||||
{ { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL },
|
||||
{{},}
|
||||
}};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user