BUG/MEDIUM: cache fix cli_kws structure

The cli_kws structure was not ended and was causing undefined behavior.
This commit is contained in:
William Lallemand 2017-11-22 16:41:26 +01:00 committed by Willy Tarreau
parent 55e7674bc4
commit e899af89b5

View File

@ -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 },
{{},}
}};