Diff for /libaitrpc/src/cli.c between versions 1.9.2.13 and 1.9.2.14

version 1.9.2.13, 2012/05/17 21:14:13 version 1.9.2.14, 2012/05/17 21:40:02
Line 292  rpc_cli_execCall(rpc_cli_t *cli, int noreply, u_short  Line 292  rpc_cli_execCall(rpc_cli_t *cli, int noreply, u_short 
         pfd.events = POLLOUT;          pfd.events = POLLOUT;
         if ((ret = poll(&pfd, 1, DEF_RPC_TIMEOUT * 1000)) == -1 ||           if ((ret = poll(&pfd, 1, DEF_RPC_TIMEOUT * 1000)) == -1 || 
                         pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {                          pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) {
                if (ret)                LOGERR;
                        LOGERR; 
                else 
                        rpc_SetErr(ETIMEDOUT, "Timeout, no ready to send"); 
 
                 return -1;                  return -1;
         }          }
         if ((ret = send(cli->cli_sock, buf, wlen, MSG_NOSIGNAL)) == -1) {          if ((ret = send(cli->cli_sock, buf, wlen, MSG_NOSIGNAL)) == -1) {

Removed from v.1.9.2.13  
changed lines
  Added in v.1.9.2.14


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