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
b105b084
Commit
b105b084
authored
Mar 02, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Ignore report_data call if binding is stopped.
parent
c7b204e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
binding.c
dlls/urlmon/binding.c
+1
-1
url.c
dlls/urlmon/tests/url.c
+1
-2
No files found.
dlls/urlmon/binding.c
View file @
b105b084
...
...
@@ -1200,7 +1200,7 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
TRACE
(
"(%p)->(%d %u %u)
\n
"
,
This
,
bscf
,
progress
,
progress_max
);
if
(
This
->
download_state
==
END_DOWNLOAD
)
if
(
This
->
download_state
==
END_DOWNLOAD
||
(
This
->
state
&
BINDING_STOPPED
)
)
return
;
if
(
GetCurrentThreadId
()
!=
This
->
apartment_thread
)
...
...
dlls/urlmon/tests/url.c
View file @
b105b084
...
...
@@ -1201,8 +1201,7 @@ static HRESULT WINAPI statusclb_OnProgress(IBindStatusCallback *iface, ULONG ulP
break
;
case
BINDSTATUS_DOWNLOADINGDATA
:
CHECK_EXPECT2
(
OnProgress_DOWNLOADINGDATA
);
if
(
iface
==
&
objbsc
)
todo_wine
ok
(
0
,
"unexpected call
\n
"
);
ok
(
iface
!=
&
objbsc
,
"unexpected call
\n
"
);
ok
(
download_state
==
DOWNLOADING
,
"Download state was %d, expected DOWNLOADING
\n
"
,
download_state
);
break
;
...
...
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