Changeset 3910:aecb34063151 in roaraudio for roard/network.c


Ignore:
Timestamp:
06/06/10 14:45:46 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do a lot more checking for invalid client ID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/network.c

    r3802 r3910  
    100100 client = clients_new(); 
    101101 
     102 if ( client == -1 ) { 
     103  ROAR_DBG("net_get_new_client(void) = -1 // can not create new client"); 
     104  return -1; 
     105 } 
     106 
    102107 if ( clients_set_fh(client, fh) == -1 ) { 
    103108  ROAR_ERR("net_get_new_client(void): Can not set client's fh"); 
Note: See TracChangeset for help on using the changeset viewer.