Changeset 4045:24979f240e9c in roaraudio
- Timestamp:
- 07/09/10 14:40:54 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarmon.c
r3812 r4045 65 65 struct roar_connection con; 66 66 struct roar_stream s; 67 struct roar_vio_calls file, stream;67 struct roar_vio_calls file, * stream; 68 68 struct roar_vio_defaults def; 69 69 int file_opened = 0; … … 214 214 } 215 215 216 if ( roar_get_connection_vio(&con, &stream) == -1) {216 if ( (stream = roar_get_connection_vio2(&con)) == NULL ) { 217 217 fprintf(stderr, "Error: can not get stream vio\n"); 218 218 roar_disconnect(&con); … … 223 223 // ROAR_SHUTDOWN(fh, SHUT_WR); // we need to have something do do shutdowns here... 224 224 225 roar_vio_copy_data(&file, &stream);226 227 roar_vio_close( &stream);225 roar_vio_copy_data(&file, stream); 226 227 roar_vio_close(stream); 228 228 roar_vio_close(&file); 229 229
Note: See TracChangeset
for help on using the changeset viewer.