Changeset 62796e96ebc124277c473cab1028b2be2b8980c8

Show
Ignore:
Timestamp:
03/03/08 18:08:29 (6 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1204564109 +0200
git-parent:

[86fffb2fe82da640baf36664069bc33e172c55d4]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1204564008 +0200
Message:

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 <rem@videolan.org>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/network/tcp.c

    rc4f5530 r62796e9  
    8686        return -1; 
    8787 
    88     if( i_port == 0 ) 
    89         i_port = 80; /* historical VLC thing */ 
    90  
    91  
    9288    memset( &hints, 0, sizeof( hints ) ); 
    9389    hints.ai_socktype = SOCK_STREAM;