diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-19 15:24:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-10-19 15:24:27 +0100 |
commit | b01538f33873cbe99151b29557c227a5f6a4f151 (patch) | |
tree | f4aadf283555730ead1ca7317c9f6433d4caa5e9 /src | |
parent | cb538599828891726a71762b6a174912591de974 (diff) | |
download | rspamd-b01538f33873cbe99151b29557c227a5f6a4f151.tar.gz rspamd-b01538f33873cbe99151b29557c227a5f6a4f151.zip |
Fix redirector invocation
Diffstat (limited to 'src')
-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 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; } |