diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-07-05 20:30:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-07-05 20:30:24 +0100 |
commit | d6b4e64f6d65ef7280a9d8d9073c8cde1ef02fb3 (patch) | |
tree | 40bd8470211215d924a59df84e0ae6635d80def9 /src/libserver/re_cache.h | |
parent | cafe81d7579cdeb3507a0485dea42ef8ec27ec3d (diff) | |
download | rspamd-d6b4e64f6d65ef7280a9d8d9073c8cde1ef02fb3.tar.gz rspamd-d6b4e64f6d65ef7280a9d8d9073c8cde1ef02fb3.zip |
[Minor] Add some extra error reporting to hyperscan cache checks
Diffstat (limited to 'src/libserver/re_cache.h')
-rw-r--r-- | src/libserver/re_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/re_cache.h b/src/libserver/re_cache.h index c4517edda..63c19f941 100644 --- a/src/libserver/re_cache.h +++ b/src/libserver/re_cache.h @@ -189,7 +189,8 @@ gint rspamd_re_cache_compile_hyperscan (struct rspamd_re_cache *cache, gboolean rspamd_re_cache_is_valid_hyperscan_file (struct rspamd_re_cache *cache, const char *path, gboolean silent, - gboolean try_load); + gboolean try_load, + GError **err); /** * Loads all hyperscan regexps precompiled |