wininet: Mark empty fields in the same way while hash table is created and element is removed.

This commit is contained in:
Piotr Caban 2012-04-03 16:45:29 +02:00 committed by Alexandre Julliard
parent 39bc1faa8f
commit edcc395dac
1 changed files with 1 additions and 1 deletions

View File

@ -1401,7 +1401,7 @@ static DWORD URLCache_CreateHashTable(LPURLCACHE_HEADER pHeader, HASH_CACHEFILE_
(*ppHash)->dwHashTableNumber = pPrevHash ? pPrevHash->dwHashTableNumber + 1 : 0;
for (i = 0; i < HASHTABLE_SIZE; i++)
{
(*ppHash)->HashTable[i].dwOffsetEntry = 0;
(*ppHash)->HashTable[i].dwOffsetEntry = HASHTABLE_FREE;
(*ppHash)->HashTable[i].dwHashKey = HASHTABLE_FREE;
}
return ERROR_SUCCESS;