commit | 9d00869323a7124cd7366630072fb0399dc21dd2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 09 11:21:01 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 09 11:26:10 2019 +0200 |
tree | e74749adf31ed3a01520238c412e28cddb1cca27 | |
parent | edb91ad647988f6ac6b7fb9e749597072c5d5e8d [diff] |
CLEANUP: cli: replace all occurrences of manual handling of return messages There were 221 places where a status message or an error message were built to be returned on the CLI. All of them were replaced to use cli_err(), cli_msg(), cli_dynerr() or cli_dynmsg() depending on what was expected. This removed a lot of duplicated code because most of the times, 4 lines are replaced by a single, safer one.