Diff for /libaitrpc/src/builtin.c between versions 1.15 and 1.17

version 1.15, 2013/07/16 13:04:20 version 1.17, 2013/09/05 00:43:05
Line 159  rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r Line 159  rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
 static int  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 (ntohl((u_long) 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;
 }  }
   

Removed from v.1.15  
changed lines
  Added in v.1.17


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>