From c0ead36baf4704288b9a3e2f9c7d92f5fc9e3ffc Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 10 Dec 2015 17:29:02 +0000 Subject: [PATCH] Unbreak hyperscan-less build --- src/libserver/re_cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c index b231928a7..58220c118 100644 --- a/src/libserver/re_cache.c +++ b/src/libserver/re_cache.c @@ -755,9 +755,11 @@ rspamd_re_cache_exec_re (struct rspamd_task *task, break; } +#if WITH_HYPERSCAN if (!rt->cache->disable_hyperscan) { rspamd_re_cache_finish_class (rt, re_class); } +#endif return ret; } -- 2.39.5