From: Thierry Fournier Date: Sat, 28 Nov 2020 23:55:53 +0000 (+0100) Subject: BUG/MINOR: lua: missing "\n" in error message X-Git-Tag: v2.4-dev3~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de6145f747e38a5da455ccb8a84ebfc1cd2f517f;p=thirdparty%2Fhaproxy.git BUG/MINOR: lua: missing "\n" in error message Just replace ".n" by "\n" This could be backported until 1.9, but it is not so important. --- diff --git a/src/hlua.c b/src/hlua.c index f497892be4..1ecf0c1651 100644 --- 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));