wininet: Set last access time when retrieving a URL cache entry.

This commit is contained in:
Juan Lang 2011-03-03 13:42:08 -08:00 committed by Alexandre Julliard
parent a039754103
commit 47970d0504
1 changed files with 2 additions and 0 deletions

View File

@ -1896,6 +1896,7 @@ BOOL WINAPI RetrieveUrlCacheEntryFileA(
pUrlEntry->dwHitRate++;
pUrlEntry->dwUseCount++;
GetSystemTimeAsFileTime(&pUrlEntry->LastAccessTime);
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
error = URLCache_CopyEntry(pContainer, pHeader, lpCacheEntryInfo,
@ -1992,6 +1993,7 @@ BOOL WINAPI RetrieveUrlCacheEntryFileW(
pUrlEntry->dwHitRate++;
pUrlEntry->dwUseCount++;
GetSystemTimeAsFileTime(&pUrlEntry->LastAccessTime);
URLCache_HashEntrySetUse(pHashEntry, pUrlEntry->dwUseCount);
error = URLCache_CopyEntry(