Return to builtin.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitrpc / src |
version 1.15, 2013/07/16 13:04:20 | version 1.15.6.1, 2013/08/21 22:36:09 |
---|---|
Line 160 static int | Line 160 static int |
rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) | rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv) |
{ | { |
if (rpc->call_req.flags == RPC_REPLY) | if (rpc->call_req.flags == RPC_REPLY) |
AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), ntohs(rpc->call_seq)); | AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), random() % USHRT_MAX); |
return 0; | return 0; |
} | } |