You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
938 B

  1. From bd2fff07e8858d5154debd48dfabcddaf5d133e4 Mon Sep 17 00:00:00 2001
  2. From: Thierry FOURNIER <thierry.fournier@ozon.io>
  3. Date: Fri, 16 Dec 2016 11:14:06 +0100
  4. Subject: [PATCH 07/19] BUG/MINOR: lua/cli: bad error message
  5. Error message inherited from lua_appelet_tcp copy/paste.
  6. Should be backported in 1.7
  7. (cherry picked from commit ffbf569edba2a10a3d2316cb6d7435944f591cce)
  8. ---
  9. src/hlua.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/src/hlua.c b/src/hlua.c
  12. index b91414b..cee2c1b 100644
  13. --- a/src/hlua.c
  14. +++ b/src/hlua.c
  15. @@ -6447,7 +6447,7 @@ static int hlua_cli_parse_fct(char **args, struct appctx *appctx, void *private)
  16. */
  17. appctx->ctx.hlua_cli.task = task_new();
  18. if (!appctx->ctx.hlua_cli.task) {
  19. - SEND_ERR(NULL, "Lua applet tcp '%s': out of memory.\n", fcn->name);
  20. + SEND_ERR(NULL, "Lua cli '%s': out of memory.\n", fcn->name);
  21. return 0;
  22. }
  23. appctx->ctx.hlua_cli.task->nice = 0;
  24. --
  25. 2.10.2