Changeset 505:ca6bfa6cfad1 in roaraudio


Ignore:
Timestamp:
08/14/08 19:16:05 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some bugs in roar_simple_new_stream_obj()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r493 r505  
    8181 if ( socket_addr.sin_family == AF_INET ) { 
    8282  type = ROAR_SOCKET_TYPE_INET; 
     83 } else if ( socket_addr.sin_family == AF_UNIX ) { 
     84  type = ROAR_SOCKET_TYPE_UNIX; 
     85 } else { 
     86  return -1; 
    8387 } 
    8488 
     
    145149 } 
    146150 
     151 s->fh = fh; 
     152 
    147153 return fh; 
    148154} 
Note: See TracChangeset for help on using the changeset viewer.