diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-18 14:07:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-18 14:07:32 +0000 |
commit | 34cc551018df1c174685493a64b496d594cc8eb6 (patch) | |
tree | ed4753582c271eade91013b53e6ae4b7fcdc4483 /src/plugins/surbl.c | |
parent | 3a1974cf17f235b7bbb98de714fe0210ddb2c596 (diff) | |
download | rspamd-34cc551018df1c174685493a64b496d594cc8eb6.tar.gz rspamd-34cc551018df1c174685493a64b496d594cc8eb6.zip |
[Project] Preliminary support of HTTP proxies
Issue: #572
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 63a7dd544..3f1990b7b 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -2187,9 +2187,9 @@ surbl_is_redirector_handler (lua_State *L) task = lua_check_task (L, 1); url = luaL_checklstring (L, 2, &len); - surbl_module_ctx = surbl_get_context (task->cfg); if (task && url) { + surbl_module_ctx = surbl_get_context (task->cfg); url_cpy = rspamd_mempool_alloc (task->task_pool, len); memcpy (url_cpy, url, len); |