Changeset 5371:309ea408873b in roaraudio for libroar/roardl.c


Ignore:
Timestamp:
12/21/11 18:58:36 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added new error codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/roardl.c

    r5353 r5371  
    146146 // check if both appnames are NULL or non-NULL. 
    147147 if ( (para->appname == NULL && appname != NULL) || (para->appname != NULL && appname == NULL) ) { 
    148   roar_err_set(ROAR_ERROR_BADVERSION); 
     148  roar_err_set(ROAR_ERROR_BADHOST); 
    149149  return -1; 
    150150 } 
     
    152152 // check if the appname matches if given. 
    153153 if ( para->appname != NULL && !!strcmp(para->appname, appname) ) { 
    154   roar_err_set(ROAR_ERROR_BADVERSION); 
     154  roar_err_set(ROAR_ERROR_BADHOST); 
    155155  return -1; 
    156156 } 
Note: See TracChangeset for help on using the changeset viewer.