Changeset 5185:9c42709e2c89 in roaraudio for libroar


Ignore:
Timestamp:
10/22/11 19:34:28 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added server type +invalid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5148 r5185  
    190190  /* connect via (char*)server */ 
    191191  // find a port: 
     192 
     193  if ( !strcmp(server, "+invalid") ) { 
     194   roar_err_set(ROAR_ERROR_CANCELED); 
     195   return -1; 
     196  } 
    192197 
    193198  strncpy(user_sock, server, sizeof(user_sock)-1); 
     
    242247 } 
    243248 
    244  if ( fh == -1 ) 
    245   roar_err_set(ROAR_ERROR_CONNREFUSED); 
    246  
    247249 ROAR_DBG("roar_connect_raw2(*) = %i", fh); 
    248250 
Note: See TracChangeset for help on using the changeset viewer.