CLEANUP: peers/cli: make peers_dump_peer() take an appctx instead of an stconn
authorWilly Tarreau <w@1wt.eu>
Tue, 31 May 2022 06:55:54 +0000 (08:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 May 2022 06:55:54 +0000 (08:55 +0200)
commit50e77b2b8569a5a61a5dbeafc89bac7647f4bcdb
tree0e5973fd0858a9ddb1465d547b2b00cc8959e3cf
parentfc5059958f4c6d711b872424f4b497c4c9413ef1
CLEANUP: peers/cli: make peers_dump_peer() take an appctx instead of an stconn

By having the appctx in argument this function wouldn't have experienced
the previous bug. Better do that now to avoid proliferation of awkward
functions.
src/peers.c