Changeset 4468:f8d2cccafc74 in roaraudio for roard/clients.c


Ignore:
Timestamp:
10/10/10 17:50:11 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do very basic auth stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r4467 r4468  
    8686    ns->blockc   = 0; 
    8787    ns->waits    = NULL; 
    88     ns->acclev   = ACCLEV_ALL; 
     88    ns->acclev   = ACCLEV_NONE; 
    8989 
    9090    g_clients[i] = ns; 
     
    206206 
    207207 *client = ROAR_CLIENT(g_clients[id]); 
     208 
     209 if ( *client == NULL ) 
     210  return -1; 
     211 
     212 return 0; 
     213} 
     214 
     215int clients_get_server (int id, struct roar_client_server ** client) { 
     216 _CHECK_CID(id); 
     217 
     218 *client = g_clients[id]; 
    208219 
    209220 if ( *client == NULL ) 
Note: See TracChangeset for help on using the changeset viewer.