Changeset 5838:52ca1a88734e in roaraudio for roarclients


Ignore:
Timestamp:
01/07/13 02:36:01 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

handle setting of server name in connection object in a better way. also added new command "servername" to roarctl to debug this a bit. This is one little step needed by ##337

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r5837 r5838  
    7878        "  ping  NUM               - Do NUM pings using NOOP commands\n" 
    7979#endif 
     80        "  servername              - Show name of server currently connected to\n" 
    8081        "  whoami                  - Get own client ID\n" 
    8182        "\n" 
     
    12721273    i++; 
    12731274#endif 
     1275  } else if ( !strcmp(k, "servername") ) { 
     1276   printf("Server Name           : %s\n", roar_get_connection_server(&con)); 
    12741277 
    12751278  } else if ( !strcmp(k, "standby") || !strcmp(k, "off") ) { 
Note: See TracChangeset for help on using the changeset viewer.