Re: [PATCH 2/2] DOC: lua: Use consistent error message 'memory allocation failed'

2021-01-03 Thread Willy Tarreau
On Sun, Jan 03, 2021 at 10:49:53PM +0100, Tim Düsterhus wrote: > Willy, > > Am 03.01.21 um 20:04 schrieb Tim Duesterhus: > > Other locations in the configuration parser use 'memory allocation failed', > > so > > use this one as well. > > While looking into #1024 I realize that "memory allocation

Re: [PATCH 2/2] DOC: lua: Use consistent error message 'memory allocation failed'

2021-01-03 Thread Tim Düsterhus
Willy, Am 03.01.21 um 20:04 schrieb Tim Duesterhus: > Other locations in the configuration parser use 'memory allocation failed', so > use this one as well. While looking into #1024 I realize that "memory allocation failed" is much rarer than "out of memory" and "out of memory error", so this pat

[PATCH 2/2] DOC: lua: Use consistent error message 'memory allocation failed'

2021-01-03 Thread Tim Duesterhus
Other locations in the configuration parser use 'memory allocation failed', so use this one as well. --- src/hlua.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hlua.c b/src/hlua.c index 7ac0274a2..6fff60147 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -8384,17 +838