Changeset 3928:6e8e191af6a7 in roaraudio for roard/req.c


Ignore:
Timestamp:
06/10/10 13:56:35 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed exec of ready stream bug :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/req.c

    r3926 r3928  
    235235 ROAR_DBG("req_on_exec_stream(client=%i, mes={stream=%i,...},...): execing stream", client, mes->stream); 
    236236 
    237  if ( (r = client_stream_exec(client, mes->stream)) == -1 ) 
    238   return -1; 
     237 
     238 if ( streams_is_ready(mes->stream) ) { 
     239  flags[1] |= COMMAND_FLAG_OUT_CLOSECON; 
     240 } else { 
     241  if ( (r = client_stream_exec(client, mes->stream)) == -1 ) 
     242   return -1; 
     243 } 
    239244 
    240245 ROAR_DBG("req_on_exec_stream(client=%i, mes={stream=%i,...},...): returning (OK)...", client, mes->stream); 
Note: See TracChangeset for help on using the changeset viewer.