From: Vincent Bernat Date: Tue, 6 Oct 2015 14:05:59 +0000 (+0200) Subject: MINOR: lua: fix a spelling error in some error messages X-Git-Tag: v1.6.0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a72db18243a31498d4d03aa998864e6eca175255;p=thirdparty%2Fhaproxy.git MINOR: lua: fix a spelling error in some error messages "unknown" was spelled "unkown". --- diff --git a/src/hlua.c b/src/hlua.c index 9bfe34d1f0..56dac47646 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -1261,7 +1261,7 @@ __LJMP static int hlua_del_acl(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'del_acl': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'del_acl': unknown acl file '%s'", name)); pat_ref_delete(ref, key); return 0; @@ -1283,7 +1283,7 @@ static int hlua_del_map(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'del_map': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'del_map': unknown acl file '%s'", name)); pat_ref_delete(ref, key); return 0; @@ -1305,7 +1305,7 @@ static int hlua_add_acl(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'add_acl': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'add_acl': unknown acl file '%s'", name)); if (pat_ref_find_elt(ref, key) == NULL) pat_ref_add(ref, key, NULL, NULL); @@ -1331,7 +1331,7 @@ static int hlua_set_map(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'set_map': unkown map file '%s'", name)); + WILL_LJMP(luaL_error(L, "'set_map': unknown map file '%s'", name)); if (pat_ref_find_elt(ref, key) != NULL) pat_ref_set(ref, key, value, NULL);