Changeset 1405:37b39a2a8b95 in roaraudio for roarclients/roarcatad.c


Ignore:
Timestamp:
03/26/09 13:55:12 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarcatad.c

    r669 r1405  
    7878 if ( roar_simple_connect(&con, server, "roarcatad") == -1 ) { 
    7979  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    80   return -1; 
     80  return 1; 
    8181 } 
    8282 
    8383 if ( roar_stream_new(&s, rate, channels, bits, codec) == -1 ) { 
    8484  roar_disconnect(&con); 
    85   return -1; 
     85  return 1; 
    8686 } 
    8787 
    8888 if ( roar_stream_connect(&con, &s, ROAR_DIR_PLAY) == -1 ) { 
    8989  roar_disconnect(&con); 
    90   return -1; 
     90  return 1; 
    9191 } 
    9292 
Note: See TracChangeset for help on using the changeset viewer.