diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-12 17:21:06 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-12 17:21:06 +0300 |
commit | a447a10790c37b862d5673a53ef63c0b7239ef73 (patch) | |
tree | 348f91a5efd61a008af1d432479293916bfcf243 /src/binlog.h | |
parent | fe5bfee09fe3d28839955b781cbb9adad24ec828 (diff) | |
download | rspamd-a447a10790c37b862d5673a53ef63c0b7239ef73.tar.gz rspamd-a447a10790c37b862d5673a53ef63c0b7239ef73.zip |
* Fix some issues in binlog seeking
Diffstat (limited to 'src/binlog.h')
-rw-r--r-- | src/binlog.h | 3 |
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; |