From: Thierry FOURNIER Date: Sun, 20 Dec 2015 18:51:06 +0000 (+0100) Subject: CLEANUP: lua: bad error messages X-Git-Tag: v1.7-dev1~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed0bdaa6231fec52c938c4354ff7f107c99bd8e3;p=thirdparty%2Fhaproxy.git CLEANUP: lua: bad error messages An error message reference "register_service" in place of "register_action". This one should be backported to 1.6. --- diff --git a/src/hlua.c b/src/hlua.c index ccee755ecb..d70b01b6ca 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -6101,7 +6101,7 @@ __LJMP static int hlua_register_action(lua_State *L) int len; struct hlua_function *fcn; - MAY_LJMP(check_args(L, 3, "register_service")); + MAY_LJMP(check_args(L, 3, "register_action")); /* First argument : converter name. */ name = MAY_LJMP(luaL_checkstring(L, 1));