aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/rrd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 21:45:20 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-24 21:46:17 +0100
commit74532cb312603671c51008d20e1f66eeee8ecc0d (patch)
treeddd2b458b5c5efc0a5e67bc0c3e0b43803716502 /src/libutil/rrd.h
parentbd8172153357a1f51ed2ce450a15af322a074897 (diff)
downloadrspamd-74532cb312603671c51008d20e1f66eeee8ecc0d.tar.gz
rspamd-74532cb312603671c51008d20e1f66eeee8ecc0d.zip
[Fix] Try to avoid race condition when using rrd
Diffstat (limited to 'src/libutil/rrd.h')
-rw-r--r--src/libutil/rrd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/rrd.h b/src/libutil/rrd.h
index c7bc8008a..d24249965 100644
--- a/src/libutil/rrd.h
+++ b/src/libutil/rrd.h
@@ -204,6 +204,7 @@ struct rspamd_rrd_file {
gsize size; /* its size */
gboolean finalized;
gchar *id;
+ gint fd;
};