From e42611a0e1b8787cf6f0b017b3f6822cebe92420 Mon Sep 17 00:00:00 2001 From: "gordon%netscape.com" Date: Mon, 23 Apr 2001 05:15:03 +0000 Subject: [PATCH] Approved checkin for bug 76125, cleanup usage of pldhashtable in nsCacheService.cpp. r=gagan, sr=brendan, a=asa. git-svn-id: svn://10.0.0.236/trunk@92918 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/cache/src/nsCacheService.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/netwerk/cache/src/nsCacheService.cpp b/mozilla/netwerk/cache/src/nsCacheService.cpp index 3822cb954b3..25710ba6589 100644 --- a/mozilla/netwerk/cache/src/nsCacheService.cpp +++ b/mozilla/netwerk/cache/src/nsCacheService.cpp @@ -1059,9 +1059,7 @@ nsCacheService::DeactivateAndClearEntry(PLDHashTable * table, entry->DetachDescriptors(); gService->DeactivateEntry(entry); - ((nsCacheEntryHashTableEntry *)hdr)->keyHash = 1; // mark removed - ((nsCacheEntryHashTableEntry *)hdr)->cacheEntry = nsnull; - return PL_DHASH_NEXT; + return PL_DHASH_REMOVE; // and continue enumerating }