Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
51ced20e
Commit
51ced20e
authored
May 16, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding style fix
parent
d04d403a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/control/telnet.c
modules/control/telnet.c
+1
-2
No files found.
modules/control/telnet.c
View file @
51ced20e
...
@@ -137,7 +137,7 @@ struct intf_sys_t
...
@@ -137,7 +137,7 @@ struct intf_sys_t
* option is missing from --telnet-host.
* option is missing from --telnet-host.
*/
*/
static
int
getPort
(
intf_thread_t
*
p_intf
,
vlc_url_t
url
,
int
i_port
)
static
int
getPort
(
intf_thread_t
*
p_intf
,
vlc_url_t
url
,
int
i_port
)
{
{
// Print error if two different ports have been specified
// Print error if two different ports have been specified
if
(
url
.
i_port
!=
0
&&
if
(
url
.
i_port
!=
0
&&
i_port
!=
TELNETPORT_DEFAULT
&&
i_port
!=
TELNETPORT_DEFAULT
&&
...
@@ -154,7 +154,6 @@ static int getPort(intf_thread_t *p_intf, vlc_url_t url, int i_port)
...
@@ -154,7 +154,6 @@ static int getPort(intf_thread_t *p_intf, vlc_url_t url, int i_port)
{
{
return
url
.
i_port
;
return
url
.
i_port
;
}
}
// return default
return
i_port
;
return
i_port
;
}
}
...
...
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