diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-04 16:49:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-04-04 16:49:44 +0100 |
commit | e737e9942cc0c0cbd18dcbc9a1feb0a4b1c48a11 (patch) | |
tree | ba2ee3b7d49e603476dbe15e52d4a8c93c30474b /src/libstat/stat_internal.h | |
parent | 90f44e8ee59515936df340d5bace8ce68f515870 (diff) | |
download | rspamd-e737e9942cc0c0cbd18dcbc9a1feb0a4b1c48a11.tar.gz rspamd-e737e9942cc0c0cbd18dcbc9a1feb0a4b1c48a11.zip |
[Rework] Set token data as uint64_t instead of chars array
Diffstat (limited to 'src/libstat/stat_internal.h')
-rw-r--r-- | src/libstat/stat_internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstat/stat_internal.h b/src/libstat/stat_internal.h index 3290d5bc2..cab185f7c 100644 --- a/src/libstat/stat_internal.h +++ b/src/libstat/stat_internal.h @@ -51,11 +51,9 @@ struct rspamd_statfile { gpointer bkcf; }; -#define RSPAMD_MAX_TOKEN_LEN 8 typedef struct token_node_s { - guchar data[RSPAMD_MAX_TOKEN_LEN]; + guint64 data; guint window_idx; - guint datalen; guint flags; rspamd_stat_token_t *t1; rspamd_stat_token_t *t2; |