[2/2] wininet: HTTP_HttpAddRequestHeadersW should ignore 0-lengthheaders
Dmitry Timoshkov
dmitry at codeweavers.com
Fri Apr 24 21:52:20 CDT 2009
"Paul TBBle Hampson" <Paul.Hampson at Pobox.com> wrote:
> + if (strlenW(lpszStart)==0)
> + {
> + /* Skip 0-length headers */
> + lpszStart = lpszEnd;
> + bSuccess = TRUE;
> + continue;
> + }
Instead of 'if (strlenW(lpszStart)==0)' it's much simpler to do
'if (!*lpszStart)', and move the fix to HTTP_InterpretHttpHeader().
--
Dmitry.
More information about the wine-devel
mailing list