Bug 980527 - wrong log at CacheEntry::ReopenTruncated, r=michal

This commit is contained in:
Honza Bambas 2014-03-17 18:21:39 +01:00
Родитель 6806499fb7
Коммит 1e250fb46a
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -420,13 +420,12 @@ already_AddRefed<CacheEntryHandle> CacheEntry::ReopenTruncated(bool aMemoryOnly,
true, // truncate existing (this one)
getter_AddRefs(handle));
LOG((" exchanged entry %p by entry %p, rv=0x%08x", this, newEntry.get(), rv));
if (NS_SUCCEEDED(rv)) {
newEntry = handle->Entry();
LOG((" exchanged entry %p by entry %p, rv=0x%08x", this, newEntry.get(), rv));
newEntry->AsyncOpen(aCallback, nsICacheStorage::OPEN_TRUNCATE);
}
else {
} else {
LOG((" exchanged of entry %p failed, rv=0x%08x", this, rv));
AsyncDoom(nullptr);
}
}