Changeset 4229:7e755981f03f in roaraudio


Ignore:
Timestamp:
08/24/10 15:20:43 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

only take PASSFH if stream is not yet connected

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r4153 r4229  
    645645 for (i = 0; i < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; i++) { 
    646646  if ( g_clients[client]->streams[i] == stream ) { 
    647    streams_set_fh(stream, fh); 
    648    return 0; 
     647   return streams_set_fh(stream, fh); 
    649648  } 
    650649 } 
  • roard/streams.c

    r4157 r4229  
    536536  return -1; 
    537537 
     538 if ( ss->ready ) 
     539  return -1; 
     540 
    538541 dir = ROAR_STREAM(ss)->dir; 
    539542 
Note: See TracChangeset for help on using the changeset viewer.