--- libaitrpc/example/tsrv.c 2010/07/08 07:16:35 1.1.1.1.2.6 +++ libaitrpc/example/tsrv.c 2010/07/08 07:32:53 1.1.1.1.2.7 @@ -6,7 +6,7 @@ int aaa(rpc_func_t *f, int in, rpc_val_t *iv) { rpc_blob_t *b; - RPC_CALLBACK_CHK_NUM_ARGS(f, in); + RPC_CALLBACK_CHECK_INPUT(f); printf("%s(%d): Piuk! %s\n", __func__, __LINE__, f->func_name); @@ -30,7 +30,7 @@ int BBB(rpc_func_t *f, int in, rpc_val_t *iv) rpc_val_t *v; rpc_blob_t *b; - RPC_CALLBACK_CHK_NUM_ARGS(f, in); + RPC_CALLBACK_CHECK_INPUT(f); printf("%s(%d): Piuk! %s %d %s\n", __func__, __LINE__, f->func_name, RPC_GET_I32(&iv[0]), RPC_GET_STR(&iv[1]));