... | ... |
@@ -357,7 +357,7 @@ int cli_bcomp_scanbuf(fmap_t *map, const char **virname, struct cli_ac_result ** |
357 | 357 |
*virname = bcomp->virname; |
358 | 358 |
} |
359 | 359 |
/* if we aren't scanning all, let's just exit here */ |
360 |
- if (!SCAN_ALL) { |
|
360 |
+ if (!SCAN_ALLMATCHES) { |
|
361 | 361 |
break; |
362 | 362 |
} else { |
363 | 363 |
ret = cli_append_virus(ctx, (const char *)bcomp->virname); |
... | ... |
@@ -184,7 +184,7 @@ static inline int matcher_run(const struct cli_matcher *root, |
184 | 184 |
ret = cli_bcomp_scanbuf(map, virname, acres, root, mdata, ctx); |
185 | 185 |
if (ret != CL_CLEAN) { |
186 | 186 |
if (ret == CL_VIRUS) { |
187 |
- if (SCAN_ALL) |
|
187 |
+ if (SCAN_ALLMATCHES) |
|
188 | 188 |
viruses_found = 1; |
189 | 189 |
else { |
190 | 190 |
ret = cli_append_virus(ctx, *virname); |