diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-21 12:52:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-21 12:52:54 +0100 |
commit | 1c957d5ea3d1f21877fd647544486e6696ac39bd (patch) | |
tree | a096d015f06207e7af2d968da06dab3a15f4cfb5 /src/libstat/tokenizers | |
parent | a3374a6c7bc9f26d0ad07ef260d3528bd77105fb (diff) | |
download | rspamd-1c957d5ea3d1f21877fd647544486e6696ac39bd.tar.gz rspamd-1c957d5ea3d1f21877fd647544486e6696ac39bd.zip |
Use not common name for tokenization exceptions.
Diffstat (limited to 'src/libstat/tokenizers')
-rw-r--r-- | src/libstat/tokenizers/tokenizers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c index 586b3079b..51ef9038d 100644 --- a/src/libstat/tokenizers/tokenizers.c +++ b/src/libstat/tokenizers/tokenizers.c @@ -221,8 +221,8 @@ rspamd_tokenizer_get_word (rspamd_fstring_t * buf, switch (state) { case skip_delimiters: if (ex != NULL && p - buf->begin == (gint)ex->pos) { - token->begin = "exception"; - token->len = sizeof ("exception") - 1; + token->begin = "!!EX!!"; + token->len = sizeof ("!!EX!!") - 1; processed = token->len; state = skip_exception; continue; |