mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
urlmon: Fixed buffer size argument in Read call.
This commit is contained in:
parent
e5f8427abf
commit
23c6cd4241
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ static HRESULT WINAPI ProtocolHandler_Read(IInternetProtocol *iface, void *pv,
|
|||
if(read < cb) {
|
||||
ULONG cread = 0;
|
||||
|
||||
hres = IInternetProtocol_Read(This->protocol, (BYTE*)pv+read, cb, &cread);
|
||||
hres = IInternetProtocol_Read(This->protocol, (BYTE*)pv+read, cb-read, &cread);
|
||||
read += cread;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue