Changeset 4240:a8d45cd31d5d in roaraudio for roard/clients.c


Ignore:
Timestamp:
08/25/10 13:54:41 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added more and corrected debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r4229 r4240  
    641641 int i; 
    642642 
     643 ROAR_DBG("client_stream_set_fh(client=%i, stream=%i, fh=%i) = ?", client, stream, fh); 
     644 
    643645 _CHECK_CID(client); 
    644646 
    645647 for (i = 0; i < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; i++) { 
    646648  if ( g_clients[client]->streams[i] == stream ) { 
     649   ROAR_DBG("client_stream_set_fh(client=%i, stream=%i, fh=%i): stream found, index %i", client, stream, fh, i); 
    647650   return streams_set_fh(stream, fh); 
    648651  } 
    649652 } 
    650653 
     654 ROAR_WARN("client_stream_set_fh(client=%i, stream=%i, fh=%i) = -1 // client does not own stream", client, stream, fh); 
    651655 return -1; 
    652656} 
Note: See TracChangeset for help on using the changeset viewer.