Juan Lang : wininet: Rename a variable based on publicly available information.

Alexandre Julliard julliard at winehq.org
Mon Mar 7 12:22:47 CST 2011


Module: wine
Branch: master
Commit: 9d5ca542b317acdbe84decb62999bffb9734c2c4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9d5ca542b317acdbe84decb62999bffb9734c2c4

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Mar  3 15:52:42 2011 -0800

wininet: Rename a variable based on publicly available information.

---

 dlls/wininet/urlcache.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c
index 18ed426..ad439dd 100644
--- a/dlls/wininet/urlcache.c
+++ b/dlls/wininet/urlcache.c
@@ -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;




More information about the wine-cvs mailing list