Changeset 3857:8ed6d81a32d6 in roaraudio for libroar/file.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/file.c

    r3811 r3857  
    106106#endif 
    107107 
     108 roar_debug_warn_obsolete("roar_file_send_raw", "roar_vio_copy_data", NULL); 
     109 
    108110#ifdef ROAR_HAVE_LINUX_SENDFILE 
    109111 while ((ret = sendfile(out, in, NULL, BUFMAX)) > 0) 
     
    268270  } 
    269271 
     272  roar_libroar_nowarn(); 
    270273  if ( (out = roar_get_connection_fh(con)) == -1 ) { 
    271274   ROAR_ERR("roar_file_play_full(*): Can not get socket of server connection for exec data transmition."); 
    272275   close(in); 
    273    return -1; 
    274   } 
     276   roar_libroar_warn(); 
     277   return -1; 
     278  } 
     279  roar_libroar_warn(); 
    275280 
    276281  ROAR_SHUTDOWN(out, SHUT_RD); 
Note: See TracChangeset for help on using the changeset viewer.