Skip to content

Commit

Permalink
[Minor] Fix array size
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Sep 26, 2019
1 parent 28a7756 commit f648223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstat/tokenizers/tokenizers.c
Expand Up @@ -39,7 +39,7 @@ typedef gboolean (*token_get_function) (rspamd_stat_token_t * buf, gchar const *
rspamd_stat_token_t * token,
GList **exceptions, gsize *rl, gboolean check_signature);

const gchar t_delimiters[255] = {
const gchar t_delimiters[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
1, 0, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Expand All @@ -65,7 +65,7 @@ const gchar t_delimiters[255] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0
0, 0, 0, 0, 0, 0
};

/* Get next word from specified f_str_t buf */
Expand Down

0 comments on commit f648223

Please sign in to comment.