WININET: take account of dwHeaderLength in HttpSendRequest

Dmitry Timoshkov dmitry at baikal.ru
Tue Aug 3 08:23:55 CDT 2004


"Mike McCormack" <mike at codeweavers.com> wrote:

> Does this look better?  Strange I didn't get a compiler warning from that...

> +            if( dwHeaderLength == -1L )
> +                len = strlenW(lpszHeaders);
> +            else
> +                len = dwHeaderLength;

Well, it's better, but really needs a test to verify whether only -1
or any negative value is treated as a hidden strlen.

-- 
Dmitry.




More information about the wine-devel mailing list