aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/stat_internal.h')
-rw-r--r--src/libstat/stat_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/stat_internal.h b/src/libstat/stat_internal.h
index 051404814..cb2a365c4 100644
--- a/src/libstat/stat_internal.h
+++ b/src/libstat/stat_internal.h
@@ -72,9 +72,10 @@ struct rspamd_token_result {
struct rspamd_classifier_runtime *cl_runtime;
};
-#define RSPAMD_MAX_TOKEN_LEN 64
+#define RSPAMD_MAX_TOKEN_LEN 16
typedef struct token_node_s {
guchar data[RSPAMD_MAX_TOKEN_LEN];
+ guint window_idx;
guint datalen;
GArray *results;
} rspamd_token_t;