Changeset 5109:4f9fc788fe91 in roaraudio for roarclients/roarmon.c
- Timestamp:
- 07/28/11 16:32:34 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarmon.c
r4885 r5109 198 198 } 199 199 200 if ( roar_stream_connect (&con, &s, dir) == -1 ) {200 if ( roar_stream_connect2(&con, &s, dir, -1) == -1 ) { 201 201 fprintf(stderr, "Error: can not connect stream to server\n"); 202 202 roar_disconnect(&con); … … 227 227 // ROAR_SHUTDOWN(fh, SHUT_WR); // we need to have something do do shutdowns here... 228 228 229 roar_vio_copy_data(&file, stream); 229 if ( roar_vio_copy_data(&file, stream) == -1 ) { 230 fprintf(stderr, "Error: can not copy data from stream to destination\n"); 231 roar_vio_close(stream); 232 roar_vio_close(&file); 233 return 14; 234 } 230 235 231 236 roar_vio_close(stream);
Note: See TracChangeset
for help on using the changeset viewer.