aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/multipattern.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-14 15:45:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-14 15:45:10 +0100
commit11ca56b853bebb6cec3fa89fc183ac83e1a2f35e (patch)
tree3c8bc153e63b18cd174aedcdee1d54d1ad6b05d4 /src/libutil/multipattern.c
parent91862ccc09399445debbeac90b65041c502d7f5d (diff)
downloadrspamd-11ca56b853bebb6cec3fa89fc183ac83e1a2f35e.tar.gz
rspamd-11ca56b853bebb6cec3fa89fc183ac83e1a2f35e.zip
[Fix] Further fixes to urls parsing
Diffstat (limited to 'src/libutil/multipattern.c')
-rw-r--r--src/libutil/multipattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/multipattern.c b/src/libutil/multipattern.c
index f6a017047..d8cbd77d9 100644
--- a/src/libutil/multipattern.c
+++ b/src/libutil/multipattern.c
@@ -507,7 +507,7 @@ rspamd_multipattern_hs_cb (unsigned int id,
from = 0;
}
- ret = cbd->cb (cbd->mp, id, from, to - 1, cbd->in, cbd->len, cbd->ud);
+ ret = cbd->cb (cbd->mp, id, from, to, cbd->in, cbd->len, cbd->ud);
cbd->nfound ++;
cbd->ret = ret;