]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MINOR: cli: fix a build warning introduced by last commit
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Mar 2018 11:19:37 +0000 (13:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 29 Mar 2018 11:19:37 +0000 (13:19 +0200)
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

index c9f2067a71904c1364244576f900862dddac29e2..b7d428d8a73a3e0a801c77c195dc297a73033293 100644 (file)
--- 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;