aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-20 17:38:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-20 17:38:31 +0100
commitd79e398a8b089c3268f4aaf3aff12fea888d5264 (patch)
tree3ca44a942a37617325d538c2dec6c1a36014435d /src/plugins/surbl.c
parent7e081148fdf4fa81c7973037c07236e804296272 (diff)
downloadrspamd-d79e398a8b089c3268f4aaf3aff12fea888d5264.tar.gz
rspamd-d79e398a8b089c3268f4aaf3aff12fea888d5264.zip
[Minor] Some fixes to ids propagation
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 7da36f483..0d03f9516 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -868,7 +868,7 @@ surbl_module_parse_rule (const ucl_object_t* value, struct rspamd_config* cfg)
1,
1);
rspamd_symcache_add_dependency (cfg->cache, cb_id,
- SURBL_REDIRECTOR_CALLBACK, cb_id);
+ SURBL_REDIRECTOR_CALLBACK, -1);
/* Failure symbol */
g_string_append (sym, "_FAIL");
rspamd_symcache_add_symbol (cfg->cache, sym->str,
@@ -1205,7 +1205,7 @@ surbl_module_config (struct rspamd_config *cfg)
if (cur_suffix->options & SURBL_OPTION_CHECKDKIM) {
rspamd_symcache_add_dependency (cfg->cache,
- cur_suffix->callback_id, "DKIM_TRACE", cur_suffix->callback_id);
+ cur_suffix->callback_id, "DKIM_TRACE", -1);
}
cur_opt = g_list_next (cur_opt);