commit | fc5059958f4c6d711b872424f4b497c4c9413ef1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 31 08:53:25 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 31 08:53:25 2022 +0200 |
tree | dc3561423d23e32eb1e03f1727990231f4fb1306 | |
parent | ccea010104235ae74c59e216c73667125e5d24ad [diff] |
CLEANUP: peers/cli: stop misusing the appctx local variable In the context of a CLI command, it's particularly not welcome to use an "appctx" variable that is not the current one. In addition it was created for use at exactly 6 places in 2 lines. Let's just remove it and stick to peer->appctx which is used elsewhere in the function and is unambiguous.