aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 16:01:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-18 16:01:05 +0000
commitaef1cac108507fcefba54694f46c4f2e8069c31d (patch)
tree5944bb32de8f4ded1cc972bf101f8846338418f2 /src/libserver/worker_util.h
parent9b31d260b9bee44456fd2f37eee6c4ba2c8aba60 (diff)
downloadrspamd-aef1cac108507fcefba54694f46c4f2e8069c31d.tar.gz
rspamd-aef1cac108507fcefba54694f46c4f2e8069c31d.zip
Implement refcounting for configuration
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r--src/libserver/worker_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index 3242d1669..21c86f92e 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -86,6 +86,7 @@ struct rspamd_controller_session {
struct rspamd_task *task;
struct rspamd_classifier_config *cl;
rspamd_inet_addr_t *from_addr;
+ struct rspamd_config *cfg;
gboolean is_spam;
};