diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-07 12:12:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-02-07 12:12:37 +0000 |
commit | 4d1b94d4c3b4be24df8661b4fc15103a346dfa1e (patch) | |
tree | 4288c56c4e36bf444a4a9629bbc78c5b3704bb95 /src/lua/lua_url.c | |
parent | c53ad94e7b7b5970750893408ab3d12779639944 (diff) | |
download | rspamd-4d1b94d4c3b4be24df8661b4fc15103a346dfa1e.tar.gz rspamd-4d1b94d4c3b4be24df8661b4fc15103a346dfa1e.zip |
[Feature] Rework surbl module to avoid extra redirector calls
Diffstat (limited to 'src/lua/lua_url.c')
-rw-r--r-- | src/lua/lua_url.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c index 2f1270099..60a01b6ce 100644 --- a/src/lua/lua_url.c +++ b/src/lua/lua_url.c @@ -327,9 +327,7 @@ lua_url_get_tag (lua_State *L) struct rspamd_lua_url *url = lua_check_url (L, 1); guint i; const gchar *tag = luaL_checkstring (L, 2); - GHashTableIter it; struct rspamd_url_tag *tval, *cur; - gpointer k, v; if (url != NULL && tag != NULL) { @@ -373,7 +371,6 @@ lua_url_get_tags (lua_State *L) { struct rspamd_lua_url *url = lua_check_url (L, 1); guint i; - const gchar *tag; GHashTableIter it; struct rspamd_url_tag *tval, *cur; gpointer k, v; |