mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-07 18:51:21 +01:00
MINOR: lua: typo in an error message
A small typo was introduced in an error message, occuring when too many
arguments are provided ("Malformed argument mask").
This commit is contained in:
parent
05ac42455f
commit
577a36a174
@ -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. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user