]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Revert an evil optimization from the memcache change
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 19 Aug 2009 20:29:33 +0000 (22:29 +0200)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Wed, 19 Aug 2009 20:29:33 +0000 (22:29 +0200)
src/store.cc

index 3c114bb66dbc62dc8d26df8d72389ea62d635a45..29c097384a6631b3f7100c7ce7b292dcbaf1c3f0 100644 (file)
@@ -1840,7 +1840,7 @@ StoreEntry::trimMemory()
         return;
 
     if (!swapOutAble()) {
-       if (!EBIT_TEST(flags, KEY_PRIVATE) && mem_obj->policyLowestOffsetToKeep(0) == 0) {
+       if (mem_obj->policyLowestOffsetToKeep(0) == 0) {
            /* Nothing to do */
            return;
        }