Changeset 1405:37b39a2a8b95 in roaraudio for roarclients/roarcatpassfh.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/roarcatpassfh.c

    r763 r1405  
    8080 if ( roar_simple_connect(&con, server, "roarcatad") == -1 ) { 
    8181  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    82   return -1; 
     82  return 1; 
    8383 } 
    8484 
    8585 if ( roar_stream_new(&s, rate, channels, bits, codec) == -1 ) { 
    8686  roar_disconnect(&con); 
    87   return -1; 
     87  return 1; 
    8888 } 
    8989 
    9090 if ( roar_stream_connect(&con, &s, ROAR_DIR_PLAY) == -1 ) { 
    9191  roar_disconnect(&con); 
    92   return -1; 
     92  return 1; 
    9393 } 
    9494 
    9595 if ( roar_stream_passfh(&con, &s, in) == -1 ) { 
    9696  roar_disconnect(&con); 
    97   return -1; 
     97  return 1; 
    9898 } 
    9999 
Note: See TracChangeset for help on using the changeset viewer.