Browse Source

[Minor] Fix array size

tags/2.0
Vsevolod Stakhov 4 years ago
parent
commit
f648223e11
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/libstat/tokenizers/tokenizers.c

+ 2
- 2
src/libstat/tokenizers/tokenizers.c View File

@@ -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,
@@ -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 */

Loading…
Cancel
Save