aboutsummaryrefslogtreecommitdiffstats
path: root/src/settings.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-21 16:09:27 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-07-21 16:09:27 +0400
commit875d1dd367eb433ae77a092148f483e9b9449a47 (patch)
tree7ecf094891d6d61c4ebe55d77226e560478d2ae6 /src/settings.h
parent5c9372c4a8678c6856360891180b02c2fdf688ee (diff)
downloadrspamd-875d1dd367eb433ae77a092148f483e9b9449a47.tar.gz
rspamd-875d1dd367eb433ae77a092148f483e9b9449a47.zip
Another fix to avoid race with settings - add reference counter.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 5d77d429b..fb8f8681e 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -13,6 +13,7 @@ struct rspamd_settings {
GHashTable *blacklist; /**< hash table of whitelist for this setting */
gchar *statfile_alias; /**< alias for statfile used */
gboolean want_spam; /**< if true disable rspamd checks */
+ gint ref_count; /**< reference counter */
};