--- libaitrpc/example/tsrv.c 2012/03/28 01:17:09 1.6.2.1 +++ libaitrpc/example/tsrv.c 2012/03/28 11:36:42 1.6.2.2 @@ -93,7 +93,8 @@ int xxx(rpc_func_t *f, int in, array_t *iv) rpc_srv_getVars(f, &arr); v = io_array(arr, 0, ait_val_t*); - AIT_SET_BUF(v, "00!oo", 6); + AIT_SET_DATA(v, "00!oo", 6); + io_arraySet(arr, 0, v); v = io_array(arr, 1, ait_val_t*); AIT_SET_I8(v, 65); return 111;