wininet: Rename a variable based on publicly available information.
This commit is contained in:
parent
ad45ebf3fa
commit
9d5ca542b3
|
@ -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)
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue