Commit 9a82f6a8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winhttp: Fixed netconn_recv when read uses both SSL_recv and buffered data.

parent cc37abb6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment