diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-14 17:44:39 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-14 17:44:39 +0300 |
commit | eb746e9a050fb8032ac213751ba55f9229213c91 (patch) | |
tree | c06aacbe54fa2d5a052ac7e47d9010126fed6d0f /src/html.c | |
parent | b37575ba0e7bcd1fe247529ea414a9dda93c50d8 (diff) | |
download | rspamd-eb746e9a050fb8032ac213751ba55f9229213c91.tar.gz rspamd-eb746e9a050fb8032ac213751ba55f9229213c91.zip |
Small fix.
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.c b/src/html.c index e99403a8a..29d535564 100644 --- a/src/html.c +++ b/src/html.c @@ -688,7 +688,7 @@ check_phishing (struct worker_task *task, struct uri *href_url, const gchar *url gint off, rc; p = url_text; - while (len < remain - 1) { + while (len < remain) { if (*p == '<' || *p == '>') { break; } |