Browse code

bcomp - reverting change that forced scanning on raw files only

Mickey Sola authored on 2018/11/15 06:36:16
Showing 1 changed files
... ...
@@ -180,7 +180,7 @@ static inline int matcher_run(const struct cli_matcher *root,
180 180
             return ret;
181 181
     }
182 182
 
183
-    if (root->bcomp_metas && !(acmode & AC_SCAN_FT)) {
183
+    if (root->bcomp_metas) {
184 184
         ret = cli_bcomp_scanbuf(orig_buffer, orig_length, virname, acres, root, mdata, ctx);
185 185
         if (ret != CL_CLEAN) {
186 186
             if (ret == CL_VIRUS) {