Changeset 4044:bcbfaf0b8c5f in roaraudio
- Timestamp:
- 07/09/10 14:36:09 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcat.c
r3812 r4044 63 63 struct roar_connection con; 64 64 struct roar_stream s; 65 struct roar_vio_calls file, stream;65 struct roar_vio_calls file, * stream; 66 66 struct roar_vio_defaults def; 67 67 int file_opened = 0; … … 199 199 } 200 200 201 if ( roar_get_connection_vio(&con, &stream) == -1) {201 if ( (stream = roar_get_connection_vio2(&con)) == NULL ) { 202 202 fprintf(stderr, "Error: can not get stream vio\n"); 203 203 roar_disconnect(&con); … … 205 205 } 206 206 207 roar_vio_copy_data( &stream, &file);208 209 roar_vio_close( &stream);207 roar_vio_copy_data(stream, &file); 208 209 roar_vio_close(stream); 210 210 roar_vio_close(&file); 211 211
Note: See TracChangeset
for help on using the changeset viewer.