CLEANUP: cli: make "show fd" use a const connection to access other fields
authorWilly Tarreau <w@1wt.eu>
Wed, 20 Jan 2021 13:13:46 +0000 (14:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Jan 2021 16:17:39 +0000 (17:17 +0100)
commiteb0595d039b5e5c56bf3f574ec7e364d926c406b
treefaf743703370c394839a45475ac4d47727dc189c
parent45fd1030d5eebb318fbcf70adadfcc1ff6b261b3
CLEANUP: cli: make "show fd" use a const connection to access other fields

Over time the code has uglified, casting fdt.owner as a struct connection
for about everything. Let's have a const struct connection* there and take
this opportunity for passing all fields as const as well.

Additionally a misplaced closing parenthesis on the output was fixed.
src/cli.c