[BACK]Return to packet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/packet.c between version 1.213 and 1.214

version 1.213, 2015/07/29 04:43:06 version 1.214, 2015/08/20 22:32:42
Line 1261 
Line 1261 
   
         DBG(debug("packet_read()"));          DBG(debug("packet_read()"));
   
         setp = (fd_set *)calloc(howmany(state->connection_in + 1,          setp = calloc(howmany(state->connection_in + 1,
             NFDBITS), sizeof(fd_mask));              NFDBITS), sizeof(fd_mask));
         if (setp == NULL)          if (setp == NULL)
                 return SSH_ERR_ALLOC_FAIL;                  return SSH_ERR_ALLOC_FAIL;
Line 2023 
Line 2023 
         struct timeval start, timeout, *timeoutp = NULL;          struct timeval start, timeout, *timeoutp = NULL;
         struct session_state *state = ssh->state;          struct session_state *state = ssh->state;
   
         setp = (fd_set *)calloc(howmany(state->connection_out + 1,          setp = calloc(howmany(state->connection_out + 1,
             NFDBITS), sizeof(fd_mask));              NFDBITS), sizeof(fd_mask));
         if (setp == NULL)          if (setp == NULL)
                 return SSH_ERR_ALLOC_FAIL;                  return SSH_ERR_ALLOC_FAIL;

Legend:
Removed from v.1.213  
changed lines
  Added in v.1.214