Changeset 3510:4eb770a49d50 in roaraudio
- Timestamp:
- 02/15/10 02:37:23 (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roarclients
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r3213 r3510 849 849 // connect 850 850 851 if ( roar_ connect(&con, server) == -1 ) {851 if ( roar_simple_connect(&con, server, "roarctl") == -1 ) { 852 852 fprintf(stderr, "Error: Can not connect to server\n"); 853 return 1;854 }855 856 if ( roar_identify(&con, "roarctl") == -1 ) {857 fprintf(stderr, "Error: Can not identify to server\n");858 853 return 1; 859 854 } -
roarclients/roarlight.c
r2052 r3510 124 124 } 125 125 126 if ( roar_ connect(&con, server) == -1 ) {126 if ( roar_simple_connect(&con, server, "roarlight") == -1 ) { 127 127 fprintf(stderr, "Error: Can not connect to server\n"); 128 return 1;129 }130 131 if ( roar_identify(&con, "roarlight") == -1 ) {132 fprintf(stderr, "Error: Can not identify to server\n");133 roar_disconnect(&con);134 128 return 1; 135 129 }
Note: See TracChangeset
for help on using the changeset viewer.