Changeset 3510:4eb770a49d50 in roaraudio for roarclients/roarctl.c


Ignore:
Timestamp:
02/15/10 02:37:23 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use roar_simple_connect()...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarctl.c

    r3213 r3510  
    849849 // connect 
    850850 
    851  if ( roar_connect(&con, server) == -1 ) { 
     851 if ( roar_simple_connect(&con, server, "roarctl") == -1 ) { 
    852852  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"); 
    858853  return 1; 
    859854 } 
Note: See TracChangeset for help on using the changeset viewer.