From 1e99efccef21394f0b5e5940001aaee8b3cd6b4b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 13 Mar 2025 17:28:12 +0100 Subject: [PATCH] MINOR: cli: export cli_io_handler() to ease symbol resolution It's common to meet this function in backtraces, it's a bit annoying that it's not resolved, so let's export it so that it becomes resolvable. --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index e7a33f57d..7bbfa3a82 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1059,7 +1059,7 @@ size_t cli_snd_buf(struct appctx *appctx, struct buffer *buf, size_t count, unsi * CLI_ST_* constants. appctx->st1 is used to indicate whether prompt is enabled * or not. */ -static void cli_io_handler(struct appctx *appctx) +void cli_io_handler(struct appctx *appctx) { if (applet_fl_test(appctx, APPCTX_FL_OUTBLK_ALLOC|APPCTX_FL_OUTBLK_FULL)) goto out; -- 2.47.3