Changeset 5247:7736d313ea19 in roaraudio
- Timestamp:
- 11/13/11 12:59:09 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroaryiff
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaryiff/connection.c
r4708 r5247 73 73 74 74 void YCloseConnection (YConnection *connection, Boolean no_shutdown) { 75 struct roar_vio_calls vio; 76 75 77 if ( connection == NULL ) 76 78 return; 77 79 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. 79 81 82 if ( roar_vio_open_fh_socket(&vio, connection->fd) != -1 ) { 83 roar_vio_close(&vio); 84 } 80 85 81 86 roar_mm_free(connection); -
libroaryiff/ctl.c
r4708 r5247 44 44 roar_connect_fh(&rcon, con->fd); 45 45 46 roar_terminate(&rcon, 0);46 _LIBROAR_IGNORE_RET(roar_terminate(&rcon, 0)); 47 47 YCloseConnection(con, 1); 48 48 }
Note: See TracChangeset
for help on using the changeset viewer.