input: revert incorrect 'needs_mangle' check
@@ -594,7 +594,7 @@ bool input_prepareStaticFile(run_t* run, bool rewind, bool needs_mangle) {
if (!input_getNext(run, run->dynfile->path, /* rewind= */ rewind)) {
return false;
}
- if (needs_mangle || !input_inDynamicCorpus(run, run->dynfile->path)) {
+ if (!needs_mangle || !input_inDynamicCorpus(run, run->dynfile->path)) {
LOG_D("Skipping '%s' as it's already in the dynamic corpus", run->dynfile->path);
break;
}
