Changeset 3510:4eb770a49d50 in roaraudio for roarclients/roarlight.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/roarlight.c

    r2052 r3510  
    124124 } 
    125125 
    126  if ( roar_connect(&con, server) == -1 ) { 
     126 if ( roar_simple_connect(&con, server, "roarlight") == -1 ) { 
    127127  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); 
    134128  return 1; 
    135129 } 
Note: See TracChangeset for help on using the changeset viewer.