diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 14:09:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 14:09:40 +0000 |
commit | 3582f7d259a7a27f21c0111fc7d852e41e0b5569 (patch) | |
tree | 4c2465386d0961ac6508805935bfac7d000aa330 /src/plugins | |
parent | f538b2bb5d6633b1f723913a766b1244693df186 (diff) | |
download | rspamd-3582f7d259a7a27f21c0111fc7d852e41e0b5569.tar.gz rspamd-3582f7d259a7a27f21c0111fc7d852e41e0b5569.zip |
Fix suffix/bits less URL BLs
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/surbl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 683283dd2..480c40d4e 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -1128,7 +1128,8 @@ process_dns_results (struct rspamd_task *task, } } if (!got_result) { - if (!(suffix->bits || suffix->bits->len == 0) && suffix->ips == NULL) { + if ((suffix->bits == NULL || suffix->bits->len == 0) && + suffix->ips == NULL) { msg_info_task ("<%s> domain [%s] is in surbl %s", task->message_id, url, suffix->suffix); |