wininet: Implement chunked reads.

Robert Shearman rob at codeweavers.com
Wed Mar 26 09:02:46 CDT 2008


Hans Leidekker wrote:
>  static DWORD HTTPREQ_ReadFile(WININETHANDLEHEADER *hdr, void *buffer, DWORD size, DWORD *read)
>  {
>      WININETHTTPREQW *req = (WININETHTTPREQW*)hdr;
> +    static WCHAR encoding[20];
> +    DWORD buflen = sizeof(encoding);
> +    static const WCHAR szChunked[] = {'c','h','u','n','k','e','d',0}; 
>   

encoding shouldn't be static.

-- 
Rob Shearman




More information about the wine-devel mailing list