Browse code

Revert "don't cache possible unwanted"

This reverts commit 8e47245d4a7f23f4fe5cd80408998ec5632b4b91.
There is a better way to fix this.

Török Edvin authored on 2010/03/10 21:38:50
Showing 1 changed files
... ...
@@ -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;