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

This commit is contained in:
Jacek Caban 2012-04-19 13:35:47 +02:00 committed by Alexandre Julliard
parent cc37abb658
commit 9a82f6a812

View File

@ -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;