gboolean append_suffix,
GError ** err,
gboolean forced,
- GTree *tree)
+ GTree *tree,
+ struct uri *url)
{
GHashTable *t;
gchar *result = NULL, *dots[MAX_LEVELS],
}
}
+ url->surbl = result;
+ url->surbllen = r;
+
if (tree != NULL) {
if (g_tree_lookup (tree, result) != NULL) {
msg_debug ("url %s is already registered", result);
f.len = url->hostlen;
if ((surbl_req = format_surbl_request (task->task_pool, &f, suffix, TRUE,
- &err, forced, tree)) != NULL) {
+ &err, forced, tree, url)) != NULL) {
param =
rspamd_mempool_alloc (task->task_pool, sizeof (struct dns_param));
param->url = url;