Changeset 4616:352d80a7e9d5 in roaraudio


Ignore:
Timestamp:
11/22/10 00:17:24 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

set error on -1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vs.c

    r4584 r4616  
    251251   case FLAG_DIR_OUT: dir = O_RDONLY; break; 
    252252   case FLAG_DIR_IN|FLAG_DIR_OUT: dir = O_RDWR; break; 
    253    default: return -1; 
     253   default: 
     254     _seterr(ROAR_ERROR_INVAL); 
     255     return -1; 
    254256  } 
    255257 } 
Note: See TracChangeset for help on using the changeset viewer.