From: Vsevolod Stakhov Date: Thu, 10 Dec 2015 17:29:02 +0000 (+0000) Subject: Unbreak hyperscan-less build X-Git-Tag: 1.1.0~337 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0ead36baf4704288b9a3e2f9c7d92f5fc9e3ffc;p=rspamd.git Unbreak hyperscan-less build --- 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; }