aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-23 12:15:28 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-23 12:15:28 +0100
commit614767d4fe3a3b98e1c9d9e58cabcfcda2229fa8 (patch)
tree533fba1c8a4a36764e02641d2a6c40bb38114e38 /src/plugins/surbl.c
parente67faf530b5c86de91f476a1d17918d2dd08f466 (diff)
downloadrspamd-614767d4fe3a3b98e1c9d9e58cabcfcda2229fa8.tar.gz
rspamd-614767d4fe3a3b98e1c9d9e58cabcfcda2229fa8.zip
Refactor function names.
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 289c30d01..ee54cace8 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -825,7 +825,7 @@ process_dns_results (struct rspamd_task *task,
(gint)ntohl (bit->bit),
(gint)bit->bit & (gint)ntohl (addr));
if (((gint)bit->bit & (gint)ntohl (addr)) != 0) {
- insert_result (task, bit->symbol, 1,
+ rspamd_task_insert_result (task, bit->symbol, 1,
g_list_prepend (NULL,
rspamd_mempool_strdup (task->task_pool, url)));
}
@@ -833,7 +833,7 @@ process_dns_results (struct rspamd_task *task,
}
}
else {
- insert_result (task, suffix->symbol, 1,
+ rspamd_task_insert_result (task, suffix->symbol, 1,
g_list_prepend (NULL,
rspamd_mempool_strdup (task->task_pool, url)));
}
@@ -1108,7 +1108,7 @@ surbl_tree_url_callback (gpointer key, gpointer value, void *data)
g_regex_match (re, url->string, 0, NULL))) {
/* If no regexp found or founded regexp matches url string register redirector's call */
if (surbl_module_ctx->redirector_symbol != NULL) {
- insert_result (param->task,
+ rspamd_task_insert_result (param->task,
surbl_module_ctx->redirector_symbol,
1,
g_list_prepend (NULL, red_domain));