Module: wine Branch: master Commit: 55409b2e0459fef0b59fa24841be0158b5c63529 URL: http://source.winehq.org/git/wine.git/?a=commit;h=55409b2e0459fef0b59fa24841...
Author: Misha Koshelev mk144210@bcm.edu Date: Thu Aug 2 00:12:08 2007 -0500
urlmon: Report total data read in this bind operation to OnDataAvailable, not the size of the available buffer.
---
dlls/urlmon/binding.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/binding.c b/dlls/urlmon/binding.c index b4541d3..0de8a36 100644 --- a/dlls/urlmon/binding.c +++ b/dlls/urlmon/binding.c @@ -951,7 +951,7 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
fill_stream_buffer(This->stream);
- IBindStatusCallback_OnDataAvailable(This->callback, bscf, This->stream->buf_size, + IBindStatusCallback_OnDataAvailable(This->callback, bscf, progress, &formatetc, &This->stgmed);
if(end_download) {