wininet: Correctly set headers size in CommitUrlCacheEntryW function.
This commit is contained in:
parent
5e6e26e1df
commit
a3a909f2b9
|
@ -3419,6 +3419,8 @@ BOOL WINAPI CommitUrlCacheEntryW(
|
|||
|
||||
if (!lpHeaderInfo || (header_info = heap_strdupWtoA(lpHeaderInfo)))
|
||||
{
|
||||
if(header_info)
|
||||
len = strlen(header_info);
|
||||
if (CommitUrlCacheEntryInternal(lpszUrlName, lpszLocalFileName, ExpireTime, LastModifiedTime,
|
||||
CacheEntryType, (LPBYTE)header_info, len, lpszFileExtension, lpszOriginalUrl))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue