wininet: Don't update *lpdwIndex if HttpQueryInfoW fails with ERROR_INSUFFICIENT_BUFFER.
Sebastian Lackner
sebastian at fds-team.de
Tue Jun 17 21:59:21 CDT 2014
Fixes http://bugs.winehq.org/show_bug.cgi?id=20497
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: <http://www.winehq.org/pipermail/wine-patches/attachments/20140618/70205129/attachment.bin>
More information about the wine-patches
mailing list