Changeset 3579:2b241a01ce6b in roaraudio


Ignore:
Timestamp:
02/27/10 21:41:35 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

check full-vio streams as soon as we can

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r3517 r3579  
    245245     if ( fh > max_fh ) 
    246246      max_fh = fh; 
     247    } else if ( fh == -2 ) { 
     248     streams_check(g_clients[i]->streams[j]); 
    247249    } 
    248250 
     
    303305   if ( (fh = streams_get_fh(g_clients[i]->streams[j])) != -1 ) { 
    304306    ROAR_DBG("clients_check_all(*): client=%i, stream=%i: fh=%i", i, j, fh); 
    305     if ( fh == -2 ) { 
    306      streams_check(g_clients[i]->streams[j]); 
    307     } else if ( FD_ISSET(fh, &r) ) { 
     307    if ( fh > -1 && FD_ISSET(fh, &r) ) { 
    308308     streams_check(g_clients[i]->streams[j]); 
    309309    } 
Note: See TracChangeset for help on using the changeset viewer.