summaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/surbl.c')
-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;
}