diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-27 16:10:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-27 16:10:43 +0100 |
commit | c413d85f2902f221278e342b37032119df7ebf11 (patch) | |
tree | f399467bb917be0854e63e2c7c6f1a10acfca0f5 /src | |
parent | 0e7eeb52add2e905fd935043b6a80519f283ef91 (diff) | |
download | rspamd-c413d85f2902f221278e342b37032119df7ebf11.tar.gz rspamd-c413d85f2902f221278e342b37032119df7ebf11.zip |
[Minor] Fix usage
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/re_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index e7641a8b8..eeda99616 100644 --- a/src/libserver/re_cache.c +++ b/src/libserver/re_cache.c @@ -624,7 +624,7 @@ rspamd_re_cache_process_pcre (struct rspamd_re_runtime *rt, is_raw, NULL)) { if (rspamd_re_cache_check_lua_condition (task, re, in, len, - start, end, lua_cbref)) { + start - (const gchar *)in, end - (const gchar *)in, lua_cbref)) { r++; msg_debug_re_task ("found regexp /%s/, total hits: %d", rspamd_regexp_get_pattern (re), r); |