version 1.213, 2015/07/29 04:43:06 |
version 1.214, 2015/08/20 22:32:42 |
|
|
|
|
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; |
|
|
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; |