Changeset 4827:1c7fe40fd2d3 in roaraudio


Ignore:
Timestamp:
04/03/11 09:46:46 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

return error on error, do not throw NULL-pointers around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_proto.c

    r4708 r4827  
    251251     return -1; 
    252252 
     253    if ( self->content_type == NULL ) 
     254     return -1; 
     255 
    253256    *(char**)data = self->content_type; 
    254257    return 0; 
Note: See TracChangeset for help on using the changeset viewer.