]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: lua: typo in an error message
authorCyril Bonté <cyril.bonte@free.fr>
Sun, 1 Mar 2015 23:08:38 +0000 (00:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Mar 2015 12:41:09 +0000 (13:41 +0100)
A small typo was introduced in an error message, occuring when too many
arguments are provided ("Malformed argument mask").

src/hlua.c

index a0e4d91b49663fb357c2a73781ce3ebe8f351392..9ded473c1c2b05a3cc43c767026ff29a3aace5eb 100644 (file)
@@ -420,7 +420,7 @@ __LJMP int hlua_lua2arg_check(lua_State *L, int first, struct arg *argp, unsigne
 
                /* Check oversize. */
                if (idx >= ARGM_NBARGS && argp[idx].type != ARGT_STOP) {
-                       WILL_LJMP(luaL_argerror(L, first + idx, "Malformad argument mask"));
+                       WILL_LJMP(luaL_argerror(L, first + idx, "Malformed argument mask"));
                }
 
                /* Check for mandatory arguments. */