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
6dfa25d0
Commit
6dfa25d0
authored
Mar 15, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Stop binding when OnDataAvailable fails.
parent
5ca254f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
binding.c
dlls/urlmon/binding.c
+12
-1
No files found.
dlls/urlmon/binding.c
View file @
6dfa25d0
...
...
@@ -1095,8 +1095,19 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
formatetc
.
tymed
=
stgmed
.
tymed
;
formatetc
.
cfFormat
=
This
->
clipboard_format
;
IBindStatusCallback_OnDataAvailable
(
This
->
callback
,
bscf
,
progress
,
hres
=
IBindStatusCallback_OnDataAvailable
(
This
->
callback
,
bscf
,
progress
,
&
formatetc
,
&
stgmed
);
if
(
hres
!=
S_OK
)
{
if
(
This
->
download_state
!=
END_DOWNLOAD
)
{
This
->
download_state
=
END_DOWNLOAD
;
IBindStatusCallback_OnProgress
(
This
->
callback
,
progress
,
progress_max
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
}
WARN
(
"OnDataAvailable returned %x
\n
"
,
hres
);
stop_binding
(
This
,
hres
,
NULL
);
return
;
}
if
(
This
->
download_state
==
END_DOWNLOAD
)
stop_binding
(
This
,
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