Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bf5487bf
Commit
bf5487bf
authored
Jan 31, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Return better error results.
parent
21dbe9d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
binding.c
dlls/urlmon/binding.c
+2
-4
No files found.
dlls/urlmon/binding.c
View file @
bf5487bf
...
...
@@ -1283,7 +1283,7 @@ static HRESULT get_callback(IBindCtx *pbc, IBindStatusCallback **callback)
IUnknown_Release
(
unk
);
}
return
SUCCEEDED
(
hres
)
?
S_OK
:
MK_E_SYNTAX
;
return
SUCCEEDED
(
hres
)
?
S_OK
:
INET_E_DATA_NOT_AVAILABLE
;
}
static
BOOL
is_urlmon_protocol
(
LPCWSTR
url
)
...
...
@@ -1484,9 +1484,7 @@ HRESULT bind_to_storage(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
if
(
FAILED
(
hres
))
return
hres
;
if
(
binding
->
hres
!=
S_OK
)
{
hres
=
SUCCEEDED
(
binding
->
hres
)
?
S_OK
:
binding
->
hres
;
}
else
if
(
binding
->
stream
->
init_buf
)
{
if
(
binding
->
hres
==
S_OK
&&
binding
->
stream
->
init_buf
)
{
if
((
binding
->
state
&
BINDING_STOPPED
)
&&
(
binding
->
state
&
BINDING_LOCKED
))
IInternetProtocol_UnlockRequest
(
binding
->
protocol
);
...
...
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