aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-19 15:24:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-19 15:24:27 +0100
commitb01538f33873cbe99151b29557c227a5f6a4f151 (patch)
treef4aadf283555730ead1ca7317c9f6433d4caa5e9 /src
parentcb538599828891726a71762b6a174912591de974 (diff)
downloadrspamd-b01538f33873cbe99151b29557c227a5f6a4f151.tar.gz
rspamd-b01538f33873cbe99151b29557c227a5f6a4f151.zip
Fix redirector invocation
Diffstat (limited to 'src')
-rw-r--r--src/plugins/surbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index baf0706d8..fb189e389 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -1092,7 +1092,7 @@ surbl_redirector_trie_cb (int strnum, int textpos, void *context)
{
struct rspamd_url *url = context;
- if (textpos == (gint)url->hostlen) {
+ if (textpos == (gint)url->tldlen) {
return strnum + 1;
}