--- libaitrpc/src/cli.c 2012/05/17 22:57:42 1.9.2.15 +++ libaitrpc/src/cli.c 2012/05/18 15:24:33 1.9.2.16 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.9.2.15 2012/05/17 22:57:42 misho Exp $ +* $Id: cli.c,v 1.9.2.16 2012/05/18 15:24:33 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -402,7 +402,7 @@ rpc_cli_ping(rpc_cli_t *cli) if (rpc_cli_execCall(cli, RPC_REPLY, CALL_SRVPING, NULL, &arr)) return -1; else - ret = AIT_GET_U16(io_getVars(arr, 0)); + ret = AIT_GET_U16(io_array(arr, 0, ait_val_t*)); io_freeVars(&arr); return ret;