CLEANUP: stream/cli: stop using appctx->st2 for the dump state
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 08:57:54 +0000 (10:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commit7fb591a4e4013bf294a24cbe7ed5c04fdb1121a1
treee1366a589d0959433c8af13c7abbb0991eabc55d
parent39f097d9657fe3f3c28889cc10310bb681730ff8
CLEANUP: stream/cli: stop using appctx->st2 for the dump state

Let's instead define a 3-state enum solely for this use case, and place
it into the command's context.
src/stream.c