]> source.dussan.org Git - rspamd.git/commitdiff
Unbreak hyperscan-less build
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Dec 2015 17:29:02 +0000 (17:29 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 10 Dec 2015 17:29:02 +0000 (17:29 +0000)
src/libserver/re_cache.c

index b231928a7b055bb673c1a9b78f96949f011b2346..58220c118ce03be7c035b612baba7228aa5ed9ff 100644 (file)
@@ -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;
 }