From b01538f33873cbe99151b29557c227a5f6a4f151 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 19 Oct 2015 15:24:27 +0100 Subject: Fix redirector invocation --- src/plugins/surbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3