mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
fix: standardize out-of-memory message in cfg parser
This commit is contained in:
parent
abc1947e19
commit
509a136e58
1 changed files with 1 additions and 1 deletions
|
|
@ -1731,7 +1731,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
|||
|
||||
curproxy->table = calloc(1, sizeof *curproxy->table);
|
||||
if (!curproxy->table) {
|
||||
ha_alert("parsing [%s:%d]: '%s %s' : memory allocation failed\n",
|
||||
ha_alert("parsing [%s:%d]: '%s %s' : Out of memory\n",
|
||||
file, linenum, args[0], args[1]);
|
||||
err_code |= ERR_ALERT | ERR_FATAL;
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue