Commit 9d5ca542 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

wininet: Rename a variable based on publicly available information.

parent ad45ebf3
...@@ -142,7 +142,7 @@ typedef struct _HASH_CACHEFILE_ENTRY ...@@ -142,7 +142,7 @@ typedef struct _HASH_CACHEFILE_ENTRY
typedef struct _DIRECTORY_DATA typedef struct _DIRECTORY_DATA
{ {
DWORD dwUnknown; DWORD dwNumFiles;
char filename[DIR_LENGTH]; char filename[DIR_LENGTH];
} DIRECTORY_DATA; } DIRECTORY_DATA;
...@@ -346,12 +346,7 @@ static DWORD URLCacheContainer_OpenIndex(URLCACHECONTAINER * pContainer) ...@@ -346,12 +346,7 @@ static DWORD URLCacheContainer_OpenIndex(URLCACHECONTAINER * pContainer)
for (i = 0; !dwError && i < pHeader->DirectoryCount; ++i) for (i = 0; !dwError && i < pHeader->DirectoryCount; ++i)
{ {
/* The following values were copied from a Windows index. pHeader->directory_data[i].dwNumFiles = 0;
* 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;
for (j = 0;; ++j) for (j = 0;; ++j)
{ {
int k; int k;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment