Changeset 502:f0ef9d157f91 in roaraudio for libroar/basic.c


Ignore:
Timestamp:
08/14/08 17:57:29 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

cleaning up non needed DECnet stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r501 r502  
    153153int roar_recv_message (struct roar_connection * con, struct roar_message * mes, char ** data) { 
    154154 char buf[_ROAR_MESS_BUF_LEN]; 
    155 /* 
    156 #ifdef ROAR_HAVE_LIBDNET 
    157  int len; 
    158 #endif 
    159 */ 
    160155 
    161156 ROAR_DBG("roar_recv_message(*): try to get a response form the server..."); 
     
    164159  *data = NULL; 
    165160 
    166 /* 
    167 #ifdef ROAR_HAVE_LIBDNET 
    168  if ( (len = read(con->fh, buf, _ROAR_MESS_BUF_LEN)) != _ROAR_MESS_BUF_LEN ) { 
    169   if ( len != 0 ) 
    170    return -1; 
    171  
    172   usleep(2000); 
    173  
    174   if ( read(con->fh, buf, _ROAR_MESS_BUF_LEN) != _ROAR_MESS_BUF_LEN ) 
    175    return -1; 
    176   } 
    177 #else 
    178 */ 
    179161 if ( read(con->fh, buf, _ROAR_MESS_BUF_LEN) != _ROAR_MESS_BUF_LEN ) 
    180162  return -1; 
    181 /* 
    182 #endif 
    183 */ 
    184163 
    185164 ROAR_DBG("roar_recv_message(*): Got a header"); 
Note: See TracChangeset for help on using the changeset viewer.