Changeset 5247:7736d313ea19 in roaraudio


Ignore:
Timestamp:
11/13/11 12:59:09 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some warnings

Location:
libroaryiff
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroaryiff/connection.c

    r4708 r5247  
    7373 
    7474void YCloseConnection (YConnection *connection, Boolean no_shutdown) { 
     75 struct roar_vio_calls vio; 
     76 
    7577 if ( connection == NULL ) 
    7678  return; 
    7779 
    78  roar_simple_close(connection->fd);  // roard will clean up all other sockets if the close the main one. 
     80 // roard will clean up all other sockets if the close the main one. 
    7981 
     82 if ( roar_vio_open_fh_socket(&vio, connection->fd) != -1 ) { 
     83  roar_vio_close(&vio); 
     84 } 
    8085 
    8186 roar_mm_free(connection); 
  • libroaryiff/ctl.c

    r4708 r5247  
    4444 roar_connect_fh(&rcon, con->fd); 
    4545 
    46  roar_terminate(&rcon, 0); 
     46 _LIBROAR_IGNORE_RET(roar_terminate(&rcon, 0)); 
    4747 YCloseConnection(con, 1); 
    4848} 
Note: See TracChangeset for help on using the changeset viewer.