commit | 5e560e80c7ff5452f883eb30cdfdd350f9af121f | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri May 28 16:35:05 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Jun 07 17:19:33 2021 +0200 |
tree | ee2ebdd1260fb6811d8952bc0ec34af1cbc87481 | |
parent | 9d0138ab085f4d0ee34fcec4a265b9a8d8aaa4e7 [diff] |
MINOR: server: use ha_alert in server parsing functions Replace memprintf usage in _srv_parse* functions by ha_alert calls. This has the advantage to simplify the function prototype by removing an extra char** argument. As a consequence, the CLI handler of 'add server' is updated to output the user messages buffers if not empty.