Changeset 798:86e3c1bfb7cb in roaraudio


Ignore:
Timestamp:
09/17/08 04:01:13 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

set roar_errno in roar_get_stream()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/ctl.c

    r690 r798  
    158158 m.data[0] = id; 
    159159 
    160  if ( roar_req(con, &m, NULL) == -1 ) 
    161   return -1; 
     160 roar_errno = ROAR_ERROR_UNKNOWN; 
     161 
     162 if ( roar_req(con, &m, NULL) == -1 ) { 
     163  roar_errno = ROAR_ERROR_PROTO; 
     164  return -1; 
     165 } 
    162166 
    163167 if ( m.cmd != ROAR_CMD_OK ) 
Note: See TracChangeset for help on using the changeset viewer.