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
cb85bad7
Commit
cb85bad7
authored
Sep 28, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIURI::GetPort implementation.
parent
3a00f739
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
nsio.c
dlls/mshtml/nsio.c
+13
-2
No files found.
dlls/mshtml/nsio.c
View file @
cb85bad7
...
...
@@ -1892,14 +1892,25 @@ static nsresult NSAPI nsURI_SetHost(nsIURL *iface, const nsACString *aHost)
static
nsresult
NSAPI
nsURI_GetPort
(
nsIURL
*
iface
,
PRInt32
*
aPort
)
{
nsWineURI
*
This
=
NSURI_THIS
(
iface
);
DWORD
port
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
aPort
);
if
(
This
->
nsuri
)
return
nsIURI_GetPort
(
This
->
nsuri
,
aPort
);
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
if
(
!
ensure_uri
(
This
))
return
NS_ERROR_UNEXPECTED
;
hres
=
IUri_GetPort
(
This
->
uri
,
&
port
);
if
(
FAILED
(
hres
))
{
WARN
(
"GetPort failed: %08x
\n
"
,
hres
);
return
NS_ERROR_UNEXPECTED
;
}
*
aPort
=
port
?
port
:
-
1
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_SetPort
(
nsIURL
*
iface
,
PRInt32
aPort
)
...
...
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