Jacek Caban : winhttp: Fixed netconn_recv when read uses both SSL_recv and buffered data.
Alexandre Julliard
julliard at winehq.org
Thu Apr 19 13:27:52 CDT 2012
Module: wine
Branch: master
Commit: 9a82f6a812ab4c781a77b6627523e8af6b77fccc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a82f6a812ab4c781a77b6627523e8af6b77fccc
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Apr 19 13:35:47 2012 +0200
winhttp: Fixed netconn_recv when read uses both SSL_recv and buffered data.
---
dlls/winhttp/net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
index c5d3e94..7e8c211 100644
--- a/dlls/winhttp/net.c
+++ b/dlls/winhttp/net.c
@@ -809,7 +809,7 @@ BOOL netconn_recv( netconn_t *conn, void *buf, size_t len, int flags, int *recvd
}
else memcpy( conn->peek_msg, buf, ret );
}
- *recvd = ret;
+ *recvd += ret;
return TRUE;
#else
return FALSE;
More information about the wine-cvs
mailing list