Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b2558480
Commit
b2558480
authored
Aug 02, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Aug 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Call IBindStatusCallback_OnStopBinding only if this actually is the last ReportData.
parent
99989f82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
binding.c
dlls/urlmon/binding.c
+2
-2
No files found.
dlls/urlmon/binding.c
View file @
b2558480
...
...
@@ -944,6 +944,7 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
}
if
(
This
->
stream
->
hres
==
S_FALSE
||
(
bscf
&
BSCF_LASTDATANOTIFICATION
))
{
This
->
download_state
=
END_DOWNLOAD
;
IBindStatusCallback_OnProgress
(
This
->
callback
,
progress
,
progress_max
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
}
...
...
@@ -956,8 +957,7 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
IBindStatusCallback_OnDataAvailable
(
This
->
callback
,
bscf
,
progress
,
&
formatetc
,
&
This
->
stgmed
);
if
(
This
->
stream
->
hres
==
S_FALSE
)
{
This
->
download_state
=
END_DOWNLOAD
;
if
(
This
->
download_state
==
END_DOWNLOAD
)
{
IBindStatusCallback_OnStopBinding
(
This
->
callback
,
S_OK
,
NULL
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment