CLEANUP: ring/cli: use a locally-defined context instead of using ctx.cli
authorWilly Tarreau <w@1wt.eu>
Thu, 5 May 2022 13:29:43 +0000 (15:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:36 +0000 (18:13 +0200)
commit6e3fc483f7d7278980b2059d1dab8b4f690f5656
treedaf702a0d3685944aefdaf5194dc4a40b32ec8f5
parentcba8838e59aa2ea05f5daf0199e655353652f9a6
CLEANUP: ring/cli: use a locally-defined context instead of using ctx.cli

The ring code was using ctx.cli.i0/p0/o0 to store its context during CLI
dumps via "show events" or "show errors". Let's use a locally defined
context and drop that.
src/ring.c