Changeset 5190:ea87b2e12de4 in roaraudio


Ignore:
Timestamp:
10/23/11 02:26:32 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

always give check_client proto-callback a non-NULL vio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r5162 r5190  
    536536 struct roar_message    m; 
    537537 struct roar_connection con; 
     538 struct roar_vio_calls  vio; 
    538539 struct roar_error_state errstate; 
    539540 int command_error; 
     
    636637    for (i = 0; g_proto[i].proto != -1; i++) { 
    637638     if ( g_proto[i].proto == c->proto ) { 
    638       rv = g_proto[i].check_client(id, NULL); 
     639      roar_vio_open_fh_socket(&vio, clients_get_fh(id)); 
     640      rv = g_proto[i].check_client(id, &vio); 
    639641     } 
    640642    } 
Note: See TracChangeset for help on using the changeset viewer.