commit | add430623174f913ac08c727d01be0a40340adad | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 18 11:07:40 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 23 17:11:33 2022 +0100 |
tree | 0f12219bc3df065ea436783f535bf6a0320c8261 | |
parent | 5b4b6ca823241a4da8d4e32bf9986ae33f879879 [diff] |
CLEANUP: muxes: do not use a dynamic trash in list_mux_protos() Let's not use a trash there anymore. The function is called at very early boot (for "haproxy -vv"), and the need for a trash prevents the arguments from being parsed earlier. Moreover, the function only uses a FILE* on output with fprintf(), so there's not even any benefit in using chunk_printf() on an intermediary variable, emitting the output directly is both clearer and safer.