aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/tokenizers
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-01 15:19:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-01 15:19:27 +0100
commit2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8 (patch)
treefa043b713084bbee48e40ba0c5fcab9045889904 /src/libstat/tokenizers
parent5bc3b26c98812d5a1bc1c4753ad656b403bf1e3a (diff)
downloadrspamd-2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8.tar.gz
rspamd-2249d3ba5ab3254581c84ac1d0c5ed5ffbc79ed8.zip
Update remain on tokenization.
Diffstat (limited to 'src/libstat/tokenizers')
-rw-r--r--src/libstat/tokenizers/tokenizers.c1
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;
}