Changeset 5247:7736d313ea19 in roaraudio for libroaryiff/connection.c
- Timestamp:
- 11/13/11 12:59:09 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 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);
Note: See TracChangeset
for help on using the changeset viewer.