diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-27 15:18:38 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-27 15:18:38 +0000 |
commit | 63566714e3fe1ab35f2caf6c76e2f61af49d56c3 (patch) | |
tree | bb92e6451776e7948beb1ab8b1629b4cddea38cb /src | |
parent | b37491ae7d5c91ed3a0fdad9b80ccac89a651813 (diff) | |
download | rspamd-63566714e3fe1ab35f2caf6c76e2f61af49d56c3.tar.gz rspamd-63566714e3fe1ab35f2caf6c76e2f61af49d56c3.zip |
[Fix] Add packed attribute for protocol structure
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/fuzzy_wire.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/fuzzy_wire.h b/src/libserver/fuzzy_wire.h index fb0cbf3ad..da809f405 100644 --- a/src/libserver/fuzzy_wire.h +++ b/src/libserver/fuzzy_wire.h @@ -84,8 +84,8 @@ struct rspamd_fuzzy_stat_entry { guint32 fuzzy_cnt; }; -struct fuzzy_peer_cmd { - gboolean is_shingle; +RSPAMD_PACKED(fuzzy_peer_cmd) { + gint32 is_shingle; union { struct rspamd_fuzzy_cmd normal; struct rspamd_fuzzy_shingle_cmd shingle; |