Changeset 3788:fe1762804632 in roaraudio for libroar/vio_proto.c


Ignore:
Timestamp:
05/07/10 15:44:52 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fix some warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_proto.c

    r3764 r3788  
    260260 struct roar_vio_proto * self; 
    261261 struct roar_buffer * bufbuf; 
     262 void * vpbuf; 
    262263 char * buf; 
    263264 char * endofheader = NULL; 
     
    274275 calls->write = NULL; // Disable write as we do not support this 
    275276 
    276  if ( roar_buffer_new_data(&bufbuf, 1024, &buf) == -1 ) 
    277   return -1; 
     277 if ( roar_buffer_new_data(&bufbuf, 1024, &vpbuf) == -1 ) 
     278  return -1; 
     279 
     280 buf = vpbuf; 
    278281 
    279282 ROAR_DBG("roar_vio_open_proto_http(calls=%p, dst=%p, host='%s', file='%s') = ?", calls, dst, host, file); 
Note: See TracChangeset for help on using the changeset viewer.