From 0392d6f008e979f3784343eaa26555140322965f Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Wed, 3 Oct 2001 06:53:02 +0000 Subject: [PATCH] fixes bug 102221 "SetCacheKey(key, TRUE) not implemented correctly" r=gordon, sr=rpotts git-svn-id: svn://10.0.0.236/trunk@104528 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp b/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp index 740c1178d79..d032092b80c 100644 --- a/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp @@ -672,8 +672,6 @@ nsHttpChannel::OpenCacheEntry(PRBool *delayed) } else if (mLoadFlags & LOAD_BYPASS_CACHE) accessRequested = nsICache::ACCESS_WRITE; // replace cache entry - else if (mFromCacheOnly) - accessRequested = nsICache::ACCESS_READ; // read from cache else accessRequested = nsICache::ACCESS_READ_WRITE; // normal browsing