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

    r669 r1405  
    7777 if ( roar_simple_connect(&con, server, "roarcat2sock") == -1 ) { 
    7878  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    79   return -1; 
     79  return 1; 
    8080 } 
    8181 
    8282 if ( (fh = roar_simple_new_stream(&con, rate, channels, bits, codec, ROAR_DIR_PLAY)) == -1 ) { 
    8383  roar_disconnect(&con); 
    84   return -1; 
     84  return 1; 
    8585 } 
    8686 
Note: See TracChangeset for help on using the changeset viewer.