Changeset ae4f748f95e4a064e382380835f765eee814093f

Show
Ignore:
Timestamp:
12/22/07 14:06:33 (9 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1198328793 +0000
git-parent:

[a09bcae31bb485524dfb6fe02853da520b1f3273]

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

Pierre writes too good code. We need to kludge it :(

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/services_discovery/sap.c

    ra09bcae rae4f748  
    544544 
    545545    /* read SAP packets */ 
    546     while( !p_sd->b_die
     546    while( vlc_object_alive( p_sd )
    547547    { 
    548548        unsigned n = p_sd->p_sys->i_fd; 
     
    555555            ufd[i].revents = 0; 
    556556        } 
     557 
     558        /* FIXME: remove this stupid evil hack when we have sorted out how to 
     559         * to cancel threads while doing network I/O */ 
     560        if (timeout > 2000) 
     561            timeout = 2000; 
    557562 
    558563        if (poll (ufd, n, timeout) > 0)