This reverts commit 8e47245d4a7f23f4fe5cd80408998ec5632b4b91.
There is a better way to fix this.
... | ... |
@@ -651,7 +651,7 @@ void cache_add(unsigned char *md5, size_t size, cli_ctx *ctx) { |
651 | 651 |
uint32_t level; |
652 | 652 |
struct CACHE *c; |
653 | 653 |
|
654 |
- if(!ctx || !ctx->engine || !ctx->engine->cache || ctx->found_possibly_unwanted) |
|
654 |
+ if(!ctx || !ctx->engine || !ctx->engine->cache) |
|
655 | 655 |
return; |
656 | 656 |
|
657 | 657 |
level = (*ctx->fmap && (*ctx->fmap)->dont_cache_flag) ? ctx->recursion : 0; |