summaryrefslogtreecommitdiffstats
path: root/src/binlog.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-12 17:21:06 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-11-12 17:21:06 +0300
commita447a10790c37b862d5673a53ef63c0b7239ef73 (patch)
tree348f91a5efd61a008af1d432479293916bfcf243 /src/binlog.h
parentfe5bfee09fe3d28839955b781cbb9adad24ec828 (diff)
downloadrspamd-a447a10790c37b862d5673a53ef63c0b7239ef73.tar.gz
rspamd-a447a10790c37b862d5673a53ef63c0b7239ef73.zip
* Fix some issues in binlog seeking
Diffstat (limited to 'src/binlog.h')
-rw-r--r--src/binlog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/binlog.h b/src/binlog.h
index eef5f4d19..84fba3db6 100644
--- a/src/binlog.h
+++ b/src/binlog.h
@@ -9,12 +9,13 @@
#define BINLOG_IDX_LEN 200
#define METAINDEX_LEN 1024
+/* Assume 8 bytes words */
struct rspamd_binlog_header {
char magic[3];
char version[2];
char padding[3];
uint64_t create_time;
-} __attribute__((__packed__));
+};
struct rspamd_binlog_index {
uint64_t time;