Changeset 5950:7fe8f5df7a83 in roaraudio for roarclients/roarpluginrunner.c
- Timestamp:
- 10/20/13 13:52:15 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarpluginrunner.c
r5876 r5950 623 623 g_verbose++; 624 624 } else if ( !strcmp(k, "--server") ) { 625 ROAR_CKHAVEARGS(1); 625 626 roar_libroar_set_server(argv[++i]); 626 627 … … 635 636 cpi_touched++; 636 637 } else if ( !strcmp(k, "--port") ) { 638 ROAR_CKHAVEARGS(1); 637 639 cpi_port = atoi(argv[++i]); 638 640 cpi_touched++; 639 641 } else if ( !strcmp(k, "--bind") ) { 642 ROAR_CKHAVEARGS(1); 640 643 cpi_host = argv[++i]; 641 644 cpi_touched++; 642 645 } else if ( !strcmp(k, "--proto") ) { 646 ROAR_CKHAVEARGS(1); 643 647 cpi_proto = roar_str2proto(argv[++i]); 644 648 if ( cpi_proto == -1 ) { … … 653 657 cpi_touched = 0; 654 658 } else if ( !strcmp(k, "--client-fh") ) { 659 ROAR_CKHAVEARGS(1); 655 660 if ( add_cpi_client(cpi_proto, atoi(argv[++i])) == -1 ) { 656 661 fprintf(stderr, "Can not add CPI client: %s\n", roar_error2str(roar_error)); … … 671 676 672 677 } else if ( !strcmp(k, "--appname") ) { 678 ROAR_CKHAVEARGS(1); 673 679 appname = argv[++i]; 674 680 _clear_para(); 675 681 } else if ( !strcmp(k, "--abiversion") ) { 682 ROAR_CKHAVEARGS(1); 676 683 abiversion = argv[++i]; 677 684 _clear_para(); 678 685 } else if ( !strcmp(k, "--args") ) { 686 ROAR_CKHAVEARGS(1); 679 687 pluginargs = argv[++i]; 680 688 _clear_para();
Note: See TracChangeset
for help on using the changeset viewer.