wininet: Always create a URL cache entry.

Jacek Caban jacek at codeweavers.com
Tue Jun 16 04:15:49 CDT 2009


Hi Hans,

Hans Leidekker wrote:
> Fixes file downloads in ie7.
>
>  -Hans
>
> diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
> index 8f9f404..2721427 100644
> --- a/dlls/wininet/http.c
> +++ b/dlls/wininet/http.c
> @@ -3807,8 +3807,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
>      }
>      while (loop_next);
>  
> -    /* FIXME: Better check, when we have to create the cache file */
> -    if(bSuccess && (lpwhr->hdr.dwFlags & INTERNET_FLAG_NEED_FILE)) {
> +    if(bSuccess) {
>   

I think we should check at least INTERNET_FLAG_NO_CACHE_WRITE flag here.


Jacek



More information about the wine-devel mailing list