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
6bc361f2
Commit
6bc361f2
authored
Jan 20, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Store display_uri in BindProtocol structure.
parent
09a49fd7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
bindprot.c
dlls/urlmon/bindprot.c
+3
-5
urlmon_main.h
dlls/urlmon/urlmon_main.h
+1
-0
No files found.
dlls/urlmon/bindprot.c
View file @
6bc361f2
...
...
@@ -342,6 +342,7 @@ static ULONG WINAPI BindProtocol_Release(IInternetProtocolEx *iface)
IInternetProtocol_Release
(
&
This
->
filter_proxy
->
IInternetProtocol_iface
);
if
(
This
->
uri
)
IUri_Release
(
This
->
uri
);
SysFreeString
(
This
->
display_uri
);
set_binding_sink
(
This
,
NULL
,
NULL
);
...
...
@@ -546,15 +547,12 @@ static HRESULT WINAPI BindProtocol_StartEx(IInternetProtocolEx *iface, IUri *pUr
&
This
->
IInternetBindInfo_iface
,
0
,
NULL
);
IInternetProtocolEx_Release
(
protocolex
);
}
else
{
BSTR
display_uri
;
hres
=
IUri_GetDisplayUri
(
pUri
,
&
display_uri
);
hres
=
IUri_GetDisplayUri
(
pUri
,
&
This
->
display_uri
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
IInternetProtocol_Start
(
protocol
,
display_uri
,
&
This
->
IInternetProtocolSink_iface
,
hres
=
IInternetProtocol_Start
(
protocol
,
This
->
display_uri
,
&
This
->
IInternetProtocolSink_iface
,
&
This
->
IInternetBindInfo_iface
,
0
,
0
);
SysFreeString
(
display_uri
);
}
return
hres
;
...
...
dlls/urlmon/urlmon_main.h
View file @
6bc361f2
...
...
@@ -211,6 +211,7 @@ typedef struct {
DWORD
buf_size
;
LPWSTR
mime
;
IUri
*
uri
;
BSTR
display_uri
;
ProtocolProxy
*
filter_proxy
;
}
BindProtocol
;
...
...
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