diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-11 17:37:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-11 17:37:33 +0100 |
commit | a37c49a76d44f41affc4288f5105c92e2a41ac36 (patch) | |
tree | 527f43377e23002b366cdbbb4ede999ae9c3214d /src/lua | |
parent | 9536a92ba1589a7156b1df30ca5423f5267f5336 (diff) | |
download | rspamd-a37c49a76d44f41affc4288f5105c92e2a41ac36.tar.gz rspamd-a37c49a76d44f41affc4288f5105c92e2a41ac36.zip |
[Fix] Fix a stupid mistake in util.strequal_caseless
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 7b88abb22..f0ae8ab1a 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -1198,7 +1198,7 @@ lua_util_strequal_caseless (lua_State *L) gint ret = -1; str1 = lua_tolstring (L, 1, &len1); - str2 = lua_tolstring (L, 1, &len2); + str2 = lua_tolstring (L, 2, &len2); if (str1 && str2) { |