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: default avatarRémi Denis-Courmont <>
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;
Supports Markdown
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