Changeset 3857:8ed6d81a32d6 in roaraudio for libroar/stream.c


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

use roar_debug_warn_obsolete() and roar_libroar_*warn()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/stream.c

    r3822 r3857  
    264264 ROAR_DBG("roar_stream_passfh(con=%p{...}, s={.id=%i,...}, fh=%i) = ?", con, s->id, fh); 
    265265 
    266  if ( (confh = roar_get_connection_fh(con)) == -1 ) 
    267   return -1; 
     266 roar_libroar_nowarn(); 
     267 if ( (confh = roar_get_connection_fh(con)) == -1 ) { 
     268  roar_libroar_warn(); 
     269  return -1; 
     270 } 
     271 roar_libroar_warn(); 
    268272 
    269273 if ( roar_send_message(con, &m, NULL) == -1 ) { 
     
    339343 
    340344int roar_stream_send_data (struct roar_connection * con, struct roar_stream * s, char * data, size_t len) { 
    341  if ( ! s ) 
     345 
     346 roar_debug_warn_obsolete("roar_stream_send_data", "roar_vio_write", NULL); 
     347 
     348 if ( s == NULL ) 
    342349  return -1; 
    343350 
    344351 if ( s->fh == -1 ) { 
    345   if ( !con ) 
     352  if ( con == NULL ) 
    346353   return -1; 
    347354 
Note: See TracChangeset for help on using the changeset viewer.