diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-01 15:19:27 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-01 15:19:27 +0100 |
commit | 2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8 (patch) | |
tree | fa043b713084bbee48e40ba0c5fcab9045889904 /src/libstat/tokenizers | |
parent | 5bc3b26c98812d5a1bc1c4753ad656b403bf1e3a (diff) | |
download | rspamd-2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8.tar.gz rspamd-2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8.zip |
Update remain on tokenization.
Diffstat (limited to 'src/libstat/tokenizers')
-rw-r--r-- | src/libstat/tokenizers/tokenizers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c index 744e6707e..c9b65e343 100644 --- a/src/libstat/tokenizers/tokenizers.c +++ b/src/libstat/tokenizers/tokenizers.c @@ -246,6 +246,7 @@ rspamd_tokenizer_get_word (rspamd_fstring_t * buf, break; } + remain -= next_p - p; p = next_p; } |