Changeset 5585:024f7f8c937c in roaraudio for roard


Ignore:
Timestamp:
07/22/12 01:31:02 (8 years ago)
Author:
phi
Branch:
default
Message:

kill compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/network.c

    r5571 r5585  
    7070 
    7171int net_get_new_client (struct roard_listen * lsock) { 
    72  const struct roard_proto_handle * protohandle; 
    7372 int fh; 
    74  int client; 
    7573 int socket; 
    76  struct roar_client * c; 
    7774 struct roar_vio_calls    vio; 
    7875 struct sockaddr_storage  addr; 
    7976 socklen_t                addrlen = sizeof(addr); 
    80  int supported = 0; 
    81  int proto = lsock->proto; 
    8277 
    8378 if ( roar_vio_ctl(&(lsock->sock), ROAR_VIO_CTL_GET_FH, &socket) == -1 ) { 
     
    9691  return -1; 
    9792 
    98  if ( clients_new_from_fh2(fh, lsock->proto, ROAR_BYTEORDER_NETWORK, 1, lsock, (struct sockaddr*)&addr, &addrlen) == -1 ) { 
     93 if ( clients_new_from_fh2(fh, lsock->proto, ROAR_BYTEORDER_NETWORK, 1, lsock, (struct sockaddr*)&addr, addrlen) == -1 ) { 
    9994  if ( roar_vio_open_fh_socket(&vio, fh) == -1 ) { 
    10095   close(fh); 
Note: See TracChangeset for help on using the changeset viewer.