Module: wine Branch: master Commit: 47970d050464fc711e91a2ce8f46065a2099e836 URL: http://source.winehq.org/git/wine.git/?a=commit;h=47970d050464fc711e91a2ce8f...
Author: Juan Lang juan.lang@gmail.com Date: Thu Mar 3 13:42:08 2011 -0800
wininet: Set last access time when retrieving a URL cache entry.
---
dlls/wininet/urlcache.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index 639e135..6ec08de 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -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(