Changeset 5109:4f9fc788fe91 in roaraudio for roarclients/roarcat.c
- Timestamp:
- 07/28/11 16:32:34 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarcat.c
r5021 r5109 187 187 } 188 188 189 if ( roar_stream_connect (&con, &s, dir) == -1 ) {189 if ( roar_stream_connect2(&con, &s, dir, -1) == -1 ) { 190 190 fprintf(stderr, "Error: can not connect stream to server\n"); 191 191 roar_disconnect(&con); … … 205 205 } 206 206 207 roar_vio_copy_data(stream, &file); 207 if ( roar_vio_copy_data(stream, &file) == -1 ) { 208 fprintf(stderr, "Error: can not copy data from source to server.\n"); 209 roar_vio_close(stream); 210 roar_vio_close(&file); 211 return 14; 212 } 208 213 209 214 roar_vio_close(stream);
Note: See TracChangeset
for help on using the changeset viewer.