mshtml: Break reading if IStream::Read returns 0 bytes.
This commit is contained in:
parent
181332b7ec
commit
6c1e595c21
|
@ -358,6 +358,8 @@ static HRESULT WINAPI BindStatusCallback_OnDataAvailable(IBindStatusCallback *if
|
||||||
|
|
||||||
if(This->nsstream->buf_size)
|
if(This->nsstream->buf_size)
|
||||||
FIXME("buffer is not empty!\n");
|
FIXME("buffer is not empty!\n");
|
||||||
|
}else {
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}while(hres == S_OK);
|
}while(hres == S_OK);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue