aboutsummaryrefslogtreecommitdiffstats
path: root/src/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-14 17:44:39 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-03-14 17:44:39 +0300
commiteb746e9a050fb8032ac213751ba55f9229213c91 (patch)
treec06aacbe54fa2d5a052ac7e47d9010126fed6d0f /src/html.c
parentb37575ba0e7bcd1fe247529ea414a9dda93c50d8 (diff)
downloadrspamd-eb746e9a050fb8032ac213751ba55f9229213c91.tar.gz
rspamd-eb746e9a050fb8032ac213751ba55f9229213c91.zip
Small fix.
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
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;
}