From: Thierry FOURNIER Date: Fri, 16 Dec 2016 10:14:06 +0000 (+0100) Subject: BUG/MINOR: lua/cli: bad error message X-Git-Tag: v1.8-dev1~270 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbf569edba2a10a3d2316cb6d7435944f591cce;p=thirdparty%2Fhaproxy.git BUG/MINOR: lua/cli: bad error message Error message inherited from lua_appelet_tcp copy/paste. Should be backported in 1.7 --- diff --git a/src/hlua.c b/src/hlua.c index f233cdc751..d5b54ff75f 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -6629,7 +6629,7 @@ static int hlua_cli_parse_fct(char **args, struct appctx *appctx, void *private) */ appctx->ctx.hlua_cli.task = task_new(); if (!appctx->ctx.hlua_cli.task) { - SEND_ERR(NULL, "Lua applet tcp '%s': out of memory.\n", fcn->name); + SEND_ERR(NULL, "Lua cli '%s': out of memory.\n", fcn->name); return 0; } appctx->ctx.hlua_cli.task->nice = 0;