From: Willy Tarreau Date: Tue, 11 Aug 2026 13:26:52 +0000 (+0200) Subject: DEBUG: cli: unstatify cli_process_cmdline() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74b190e38925028a01a00eaba23763da7c4cf358;p=thirdparty%2Fhaproxy.git 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. --- 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;