Changeset 4951:4a40c2bc147c in roaraudio


Ignore:
Timestamp:
05/12/11 12:04:16 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

updated some error values to use new, less generic ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/proto.c

    r4873 r4951  
    8787    buf[2]              = (unsigned char)  mes->cmd; 
    8888    // ... 
    89     roar_err_set(ROAR_ERROR_NOTSUP); 
     89    roar_err_set(ROAR_ERROR_NSVERSION); 
    9090    return -1; 
    9191   break; 
     
    107107   break; 
    108108  default: 
    109     roar_err_set(ROAR_ERROR_NOTSUP); 
     109    roar_err_set(ROAR_ERROR_BADVERSION); 
    110110    return -1; 
    111111 } 
     
    192192   break; 
    193193  default: 
    194     roar_err_set(ROAR_ERROR_PROTO); 
     194    roar_err_set(ROAR_ERROR_NSVERSION); 
    195195    return -1; 
    196196   break; 
     
    268268  } 
    269269 
    270   roar_err_set(ROAR_ERROR_PIPE); 
     270  // error is still set (by roar_vio_read()). 
    271271  return -1; 
    272272 } 
Note: See TracChangeset for help on using the changeset viewer.