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