Jacek Caban : urlmon: Fixed bscf for ReportData after mime verification call.
Alexandre Julliard
julliard at winehq.org
Fri Aug 21 09:31:52 CDT 2009
Module: wine
Branch: master
Commit: 094c0104f00c20ab96d7f42c5f9384b185143667
URL: http://source.winehq.org/git/wine.git/?a=commit;h=094c0104f00c20ab96d7f42c5f9384b185143667
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Aug 21 00:15:14 2009 +0200
urlmon: Fixed bscf for ReportData after mime verification call.
---
dlls/urlmon/bindprot.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/urlmon/bindprot.c b/dlls/urlmon/bindprot.c
index 63f2375..e4f203d 100644
--- a/dlls/urlmon/bindprot.c
+++ b/dlls/urlmon/bindprot.c
@@ -1060,6 +1060,10 @@ static HRESULT report_data(BindProtocol *This, DWORD bscf, ULONG progress, ULONG
if(This->buf_size < MIME_TEST_SIZE && hres != S_FALSE)
return S_OK;
+ bscf = BSCF_FIRSTDATANOTIFICATION;
+ if(hres == S_FALSE)
+ bscf |= BSCF_LASTDATANOTIFICATION|BSCF_DATAFULLYAVAILABLE;
+
if(!This->reported_mime) {
hres = FindMimeFromData(NULL, This->url, This->buf, min(This->buf_size, MIME_TEST_SIZE),
This->mime, 0, &mime, 0);
More information about the wine-cvs
mailing list