From 74b190e38925028a01a00eaba23763da7c4cf358 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 11 Aug 2026 15:26:52 +0200 Subject: [PATCH] DEBUG: cli: unstatify cli_process_cmdline() There's no point keeping this function static, and because of this it's never resolved in backtraces despite appearing quite often since it's located between the io_handler and various parse functions that may possiblly trigger issues. So let's remove the static modifier on it. --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index 42e260bb9..d3569fdc1 100644 --- a/src/cli.c +++ b/src/cli.c @@ -787,7 +787,7 @@ static int cli_get_severity_output(struct appctx *appctx) * displayed into cli.msg. If a keyword parser is NULL and an I/O handler is * declared, the I/O handler will automatically be used. */ -static int cli_process_cmdline(struct appctx *appctx) +int cli_process_cmdline(struct appctx *appctx) { char *args[MAX_CLI_ARGS + 1], *orig, *p, *end, *payload = NULL; char *end_of_cmdline; -- 2.47.3