projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f965b2a
)
BUG/MINOR: lua: missing "\n" in error message
author
Thierry Fournier
<thierry.fournier@ozon.io>
Sat, 28 Nov 2020 23:55:53 +0000
(
00:55
+0100)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 2 Dec 2020 08:31:33 +0000
(09:31 +0100)
Just replace ".n" by "\n"
This could be backported until 1.9, but it is not so important.
src/hlua.c
patch
|
blob
|
history
diff --git
a/src/hlua.c
b/src/hlua.c
index
f497892
..
1ecf0c1
100644
(file)
--- a/
src/hlua.c
+++ b/
src/hlua.c
@@
-8004,7
+8004,7
@@
static int hlua_load(char **args, int section_type, struct proxy *curpx,
lua_pop(gL.T, 1);
return -1;
case LUA_ERRMEM:
- memprintf(err, "Lua out of memory error.n");
+ memprintf(err, "Lua out of memory error\n");
return -1;
case LUA_ERRERR:
memprintf(err, "Lua message handler error: %s\n", lua_tostring(gL.T, -1));