--- libaitrpc/example/tcli.c 2013/04/02 15:50:13 1.13 +++ libaitrpc/example/tcli.c 2013/07/16 13:02:52 1.13.4.4 @@ -88,7 +88,7 @@ int main(int argc, char **argv) AIT_SET_STR(v, "gniah_blah SHMINK!"); v = array(valz, 2, ait_val_t*); AIT_NEW_BLOB(v, 512); - if (rpc_cli_sendBLOB(cli2, v, blob43) == -1) { + if (rpc_cli_sendBLOB(cli2, v, blob43, 0) == -1) { printf("!!!!! blob error:: errno=%d %s\n", rpc_GetErrno(), rpc_GetError()); ait_freeVars(&valz); rpc_cli_closeBLOBClient(&cli2); @@ -125,6 +125,7 @@ int main(int argc, char **argv) v = array(arr, 2, ait_val_t*); printf("ret_val2:: is_empty? %d %s len=%d type=%d\n", AIT_ISEMPTY(v), AIT_GET_STR(v), AIT_LEN(v), AIT_TYPE(v)); +//#if 0 v = array(arr, 3, ait_val_t*); printf("ret_val3:: %X %d\n", AIT_GET_BLOB(v), AIT_LEN(v)); printf("test found blob=%d\n", rpc_cli_getBLOB(cli2, v, (void**) &mem)); @@ -133,6 +134,7 @@ int main(int argc, char **argv) printf("+++++++ BLOB=%s", mem); e_free(mem); } +//#endif rpc_cli_freeCall(&arr); } }