]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: lua: bad error messages
authorThierry FOURNIER <tfournier@arpalert.org>
Sun, 20 Dec 2015 18:51:06 +0000 (19:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Dec 2015 22:13:01 +0000 (23:13 +0100)
An error message reference "register_service" in place of
"register_action".

This one should be backported to 1.6.

src/hlua.c

index ccee755ecb6a4df2b770a989fa79852368f7dcbc..d70b01b6cafe2405490a423d5af21132eba13dbd 100644 (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));