Changeset 5845:43d648524685 in roaraudio


Ignore:
Timestamp:
01/07/13 13:16:11 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

small error value correction/debug lion update

Location:
libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5844 r5845  
    561561  return -1; 
    562562 
    563  roar_err_set(ROAR_ERROR_UNKNOWN); 
    564563 if ( roar_connect_raw(con, server, flags | config->serverflags, timeout) == -1 ) 
    565564  return -1; 
  • libroar/simple.c

    r5823 r5845  
    4747 
    4848 if ( roar_connect(con, server, flags, timeout) == -1 ) { 
    49   ROAR_DBG("roar_simple_connect(*): roar_connect() faild!"); 
     49  ROAR_DBG("roar_simple_connect(*): roar_connect() faild: %s", roar_errorstring); 
    5050  return -1; 
    5151 } 
    5252 
    5353 if ( roar_identify(con, name) == -1 ) { 
    54   ROAR_DBG("roar_simple_connect(*): roar_identify() faild!"); 
     54  ROAR_DBG("roar_simple_connect(*): roar_identify() faild: %s", roar_errorstring); 
    5555  return -1; 
    5656 } 
    5757 
    5858 if ( roar_auth(con) == -1 ) { 
    59   ROAR_DBG("roar_simple_connect(*): roar_auth() faild!"); 
     59  ROAR_DBG("roar_simple_connect(*): roar_auth() faild: %s", roar_errorstring); 
    6060  return -1; 
    6161 } 
Note: See TracChangeset for help on using the changeset viewer.