Changeset 4328:dd99a1c382a6 in roaraudio
- Timestamp:
- 09/09/10 18:36:06 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r4108 r4328 1045 1045 1046 1046 } else if ( !strcmp(k, "kick") ) { 1047 k = argv[++i]; 1048 if ( !strcmp(k, "client") ) { 1049 t = ROAR_OT_CLIENT; 1050 } else if ( !strcmp(k, "stream") ) { 1051 t = ROAR_OT_STREAM; 1052 } else if ( !strcmp(k, "sample") ) { 1053 t = ROAR_OT_SAMPLE; 1054 } else if ( !strcmp(k, "source") ) { 1055 t = ROAR_OT_SOURCE; 1056 } else { 1047 t = roar_str2ot((k = argv[++i])); 1048 if ( t == -1 ) { 1057 1049 fprintf(stderr, "Error: unknown type: %s\n", k); 1058 1050 continue;
Note: See TracChangeset
for help on using the changeset viewer.