wininet: Don't update *lpdwIndex if HttpQueryInfoW fails with ERROR_INSUFFICIENT_BUFFER.

Sebastian Lackner sebastian at
Tue Jun 17 21:59:21 CDT 2014


HttpQueryInfo* shouldn't update *lpdwIndex if the error code is
ERROR_INSUFFICIENT_BUFFER. The application Smilebox doesn't reset
*lpdwIndex between consecutive calls, and thus fails to find the
required header fields.

 dlls/wininet/http.c       |    3 +--
 dlls/wininet/tests/http.c |   17 +++++++++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wininet-Don-t-update-lpdwIndex-if-HttpQueryInfoW-fai.patch
Type: text/x-patch
Size: 3581 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list