Changeset 5242:97239101cee9 in roaraudio for plugins/roard


Ignore:
Timestamp:
11/13/11 00:03:27 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

some roard compiler warnings cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/roard/protocol-gopher.c

    r4744 r5242  
    686686  chardata[len-1] = 0; 
    687687 
    688   roar_buffer_set_len(buf, strlen(data)); 
     688  if ( roar_buffer_set_len(buf, strlen(data)) == -1 ) { 
     689   roar_buffer_free(buf); 
     690   return -1; 
     691  } 
    689692 
    690693  clients_add_output(client, buf); 
Note: See TracChangeset for help on using the changeset viewer.