Commit 62796e96 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove the old port 80 hack in the network subsystem



The only paths that still appears not to set a default remote port are
the dccp/rtp and tcp/rtp accesses. And it makes no sense for these to
default to HTTP port 80 anyway.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <rem@videolan.org>
parent 86fffb2f
......@@ -85,10 +85,6 @@ int __net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port,
if (evfd == -1)
return -1;
if( i_port == 0 )
i_port = 80; /* historical VLC thing */
memset( &hints, 0, sizeof( hints ) );
hints.ai_socktype = SOCK_STREAM;
......
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