Changeset e59554f4ccaf81f287bfe1e6ae6167eab71b2367

Show
Ignore:
Timestamp:
19/09/07 17:49:16 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1190216956 +0000
git-parent:

[c2b029553bf0cc7f55118460341e1206fe21c4b8]

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

Handle lack of listener in net_Accept

Files:

Legend:

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

    r4ff9961 re59554f  
    262262 * Accept a connection on a set of listening sockets and return it 
    263263 *****************************************************************************/ 
    264 int __net_Accept( vlc_object_t *p_this, int pi_fd[], mtime_t i_wait ) 
     264int __net_Accept( vlc_object_t *p_this, int *pi_fd, mtime_t i_wait ) 
    265265{ 
     266    if( pi_fd == NULL ) 
     267        return -1; 
     268 
    266269    vlc_bool_t b_block = (i_wait < 0); 
    267270