diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-13 14:50:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-13 14:50:38 +0100 |
commit | 2c866f828334a0291b5d90763a09952adcb56c13 (patch) | |
tree | 7cf9a91afa5d06f31776e06e865417fcbb6fa939 /src/libutil/multipattern.h | |
parent | 79e437a712efba0d901c9b9d7c8c82e4d1283260 (diff) | |
download | rspamd-2c866f828334a0291b5d90763a09952adcb56c13.tar.gz rspamd-2c866f828334a0291b5d90763a09952adcb56c13.zip |
[Feature] Match the beginning of pattern as well
Diffstat (limited to 'src/libutil/multipattern.h')
-rw-r--r-- | src/libutil/multipattern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/multipattern.h b/src/libutil/multipattern.h index c27977159..345bfe33f 100644 --- a/src/libutil/multipattern.h +++ b/src/libutil/multipattern.h @@ -50,7 +50,8 @@ struct rspamd_multipattern; */ typedef gint (*rspamd_multipattern_cb_t) (struct rspamd_multipattern *mp, guint strnum, - gint textpos, + gint match_start, + gint match_pos, const gchar *text, gsize len, void *context); |