CLEANUP: lua: bad error messages

An error message reference "register_service" in place of
"register_action".

This one should be backported to 1.6.
This commit is contained in:
Thierry FOURNIER 2015-12-20 19:51:06 +01:00 committed by Willy Tarreau
parent 52e2606188
commit ed0bdaa623

View File

@ -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));