]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: lua: missing "\n" in error message
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 23:55:53 +0000 (00:55 +0100)
committerWilly 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

index f497892be454fdc069440934908892c2dd417e05..1ecf0c165186f50f80c5608ec1edce5327f5a567 100644 (file)
@@ -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));