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
8f3c3ca3
Commit
8f3c3ca3
authored
Jun 25, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IUri-based nsIURI::SetPort implementation.
parent
25a40601
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
nsio.c
dlls/mshtml/nsio.c
+5
-9
No files found.
dlls/mshtml/nsio.c
View file @
8f3c3ca3
...
...
@@ -1925,9 +1925,6 @@ static nsresult NSAPI nsURI_GetPort(nsIURL *iface, PRInt32 *aPort)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aPort
);
if
(
This
->
nsuri
)
return
nsIURI_GetPort
(
This
->
nsuri
,
aPort
);
if
(
!
ensure_uri
(
This
))
return
NS_ERROR_UNEXPECTED
;
...
...
@@ -1944,16 +1941,15 @@ static nsresult NSAPI nsURI_GetPort(nsIURL *iface, PRInt32 *aPort)
static
nsresult
NSAPI
nsURI_SetPort
(
nsIURL
*
iface
,
PRInt32
aPort
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
HRESULT
hres
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
aPort
);
if
(
This
->
nsuri
)
{
invalidate_uri
(
This
);
return
nsIURI_SetPort
(
This
->
nsuri
,
aPort
);
}
if
(
!
ensure_uri_builder
(
This
))
return
NS_ERROR_UNEXPECTED
;
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
hres
=
IUriBuilder_SetPort
(
This
->
uri_builder
,
aPort
!=
-
1
,
aPort
);
return
SUCCEEDED
(
hres
)
?
NS_OK
:
NS_ERROR_FAILURE
;
}
static
nsresult
NSAPI
nsURI_GetPath
(
nsIURL
*
iface
,
nsACString
*
aPath
)
...
...
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