commit | 77e6a4ef0f607ea7d1a4f10e471d685133154fd7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 26 16:11:55 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 26 16:23:45 2021 +0100 |
tree | 9a91723d03768e1de90e9aa0a4db2498da9fad07 | |
parent | e26cd0b46c6e59400192405b0f6a6ec04ef20f2b [diff] |
MINOR: sample: make smp_resolve_args() return an allocate error message For now smp_resolve_args() complains on stderr via ha_alert(), but if we want to make it a bit more dynamic, we need it to return errors in an allocated message. Let's pass it an error pointer and have it fill it. On return we indent the output if it contains more than one line.