Commit 51ced20e authored by Jean-Paul Saman's avatar Jean-Paul Saman

coding style fix

parent d04d403a
...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment