Changeset 5030:3f116c20af9d in roaraudio


Ignore:
Timestamp:
05/28/11 13:01:46 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

correctly test for != NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/proto.c

    r4951 r5030  
    286286 
    287287int roar_vreq         (struct roar_vio_calls * vio, struct roar_message * mes, char ** data) { 
    288  if ( roar_vsend_message(vio, mes, data ? *data : NULL) != 0 ) 
     288 if ( roar_vsend_message(vio, mes, data != NULL ? *data : NULL) != 0 ) 
    289289  return -1; 
    290290 
Note: See TracChangeset for help on using the changeset viewer.