summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-07 18:53:55 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-07 18:53:55 +0300
commit4712b0316d24bcf2824b4ef3004d750315c56626 (patch)
treeabc1b6ec57c32cc7ebcb64786c3b31753e6e9062 /src/message.c
parentda99f5b139d699ec89a4b36bfa4d592c41b56342 (diff)
downloadrspamd-4712b0316d24bcf2824b4ef3004d750315c56626.tar.gz
rspamd-4712b0316d24bcf2824b4ef3004d750315c56626.zip
* Add manual pages for rspamd and rspamc.
Fix bug with extracting urls from tags without quotes.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 010edf22b..83ce3b91d 100644
--- a/src/message.c
+++ b/src/message.c
@@ -112,7 +112,7 @@ strip_html_tags (struct worker_task *task, memory_pool_t * pool, struct mime_tex
case 1: /* HTML/XML */
lc = '>';
in_q = state = 0;
- erase = !add_html_node (task, pool, part, tbegin, p - tbegin - 1, &level_ptr);
+ erase = !add_html_node (task, pool, part, tbegin, p - tbegin, &level_ptr);
break;
case 2: /* PHP */