Changeset 1611:2f155211a6c8 in roaraudio


Ignore:
Timestamp:
04/25/09 12:44:44 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some debug lions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r1504 r1611  
    257257 
    258258  for (j = 0; j < ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT; j++) { 
    259    //printf("D: client=%i, stream=%i, g_clients[i=%i] = %p\n", i, j, i, g_clients[i]); 
     259   ROAR_DBG("clients_check_all(*): D: client=%i, stream=%i, g_clients[i=%i] = %p", i, j, i, g_clients[i]); 
    260260   if ( g_clients[i] == NULL ) // streams_check() bellow can delete our client (why?) 
    261261    break; 
     262 
     263   //ROAR_WARN("clients_check_all(*): client=%i: client exists", i); 
     264   ROAR_DBG("clients_check_all(*): client=%i, stream=%i: id=%i", i, j, g_clients[i]->streams[j]); 
     265 
    262266   if ( (fh = streams_get_fh(g_clients[i]->streams[j])) != -1 ) { 
     267    ROAR_DBG("clients_check_all(*): client=%i, stream=%i: fh=%i", i, j, fh); 
    263268    if ( fh == -2 ) { 
    264269     streams_check(g_clients[i]->streams[j]); 
Note: See TracChangeset for help on using the changeset viewer.