Bug 717242, r=mcmanus

This commit is contained in:
Andrew Sutherland 2012-04-25 14:50:20 +02:00
parent 9b81f3b6e2
commit 4953c4c4f6

View File

@ -3163,7 +3163,7 @@ nsHttpChannel::InitOfflineCacheEntry()
return NS_OK;
}
if (mResponseHead && mResponseHead->NoStore()) {
if (!mResponseHead || mResponseHead->NoStore()) {
CloseOfflineCacheEntry();
return NS_OK;