Changeset 6035:50ad5b11c83c in roaraudio


Ignore:
Timestamp:
10/10/14 11:10:37 (5 years ago)
Author:
phi
Branch:
default
Message:

fixed a segfault in rsound support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r5961 r6035  
    162162   case -2: return  0; break; 
    163163   default: // TODO: write error handling 
     164     if ( clients_get_server(client, &cs) == -1 ) { 
     165      clients_delete(client); 
     166      return -1; 
     167     } 
     168 
    164169     fh = ROAR_CLIENT(cs)->fh; 
    165170    break; 
Note: See TracChangeset for help on using the changeset viewer.