diff options
-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 486b48388..25fd8b9c5 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -1379,7 +1379,7 @@ surbl_redirector_finish (struct rspamd_http_connection *conn, task->task_pool); if (r == URI_ERRNO_OK) { - if ((existing = g_hash_table_lookup (task->urls, redirected_url))) { + if ((existing = g_hash_table_lookup (task->urls, redirected_url)) == NULL) { g_hash_table_insert (task->urls, redirected_url, redirected_url); redirected_url->phished_url = param->url; |