From a833cd90b202557cbf6c863687732f3a6ae9da17 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 29 Mar 2018 13:19:37 +0200 Subject: [PATCH] BUILD/MINOR: cli: fix a build warning introduced by last commit Commit 35b1b48 ("MINOR: cli: make "show fd" report the mux and mux_ctx pointers when available") introduced an accidental build warning due to a missing const statement. --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index c9f2067a7..b7d428d8a 100644 --- a/src/cli.c +++ b/src/cli.c @@ -777,7 +777,7 @@ static int cli_io_handler_show_fd(struct appctx *appctx) struct listener *li = NULL; struct server *sv = NULL; struct proxy *px = NULL; - struct mux_ops *mux = NULL; + const struct mux_ops *mux = NULL; void *ctx = NULL; uint32_t conn_flags = 0;