if(type) buffer_fadd( argbuf, ", \"type\" : \"%s\"", type );
if(orgloci) buffer_fadd( argbuf, ", \"org\" : %d", orgloci );
if(workstation) buffer_fadd( argbuf, ", \"workstation\" : \"%s\"", workstation);
- buffer_add(argbuf, "}");
+ buffer_add_char( argbuf, '}' );
free(pass_buf);
free(mess_buf);
if( !relay ) {
int first = 1; // boolean
buffer = buffer_init( 128 );
- buffer_add( buffer, "[" );
+ buffer_add_char( buffer, '[' );
for(i = 3; ; i++ ) {
const char* word = osrfStringArrayGetString( cmd_array, i );
if( !word )