diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-20 16:26:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-20 16:26:22 +0100 |
commit | 7e081148fdf4fa81c7973037c07236e804296272 (patch) | |
tree | a095ab7fe0c4cb0ec9cebfa6788f4cb5e227adfc /src/plugins | |
parent | f28ae3248803cd3f9cddc69bdb5995d997bd128e (diff) | |
download | rspamd-7e081148fdf4fa81c7973037c07236e804296272.tar.gz rspamd-7e081148fdf4fa81c7973037c07236e804296272.zip |
[Feature] Implement settings id propagation between deps
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/surbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 860f4b5e5..7da36f483 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); + SURBL_REDIRECTOR_CALLBACK, cb_id); /* 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, "DKIM_TRACE", cur_suffix->callback_id); } cur_opt = g_list_next (cur_opt); |