wininet: Rename a variable based on publicly available information.

This commit is contained in:
Juan Lang 2011-03-03 15:52:42 -08:00 committed by Alexandre Julliard
parent ad45ebf3fa
commit 9d5ca542b3
1 changed files with 2 additions and 7 deletions

View File

@ -142,7 +142,7 @@ typedef struct _HASH_CACHEFILE_ENTRY
typedef struct _DIRECTORY_DATA
{
DWORD dwUnknown;
DWORD dwNumFiles;
char filename[DIR_LENGTH];
} DIRECTORY_DATA;
@ -346,12 +346,7 @@ static DWORD URLCacheContainer_OpenIndex(URLCACHECONTAINER * pContainer)
for (i = 0; !dwError && i < pHeader->DirectoryCount; ++i)
{
/* The following values were copied from a Windows index.
* I don't know what the values are supposed to mean but
* have made them the same in the hope that this will
* be better for compatibility
*/
pHeader->directory_data[i].dwUnknown = (i > 1) ? 0xfe : 0xff;
pHeader->directory_data[i].dwNumFiles = 0;
for (j = 0;; ++j)
{
int k;