aboutsummaryrefslogtreecommitdiff
path: root/src/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect.c')
-rw-r--r--src/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connect.c b/src/connect.c
index d877982c..1dc9bf0b 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -565,7 +565,7 @@ int ssh_select(ssh_channel *channels, ssh_channel *outchannels, socket_t maxfd,
for (i = 0; channels[i]; i++) {
if (channels[i]->session->alive &&
ssh_socket_fd_isset(channels[i]->session->socket,&localset)) {
- ssh_socket_set_toread(channels[i]->session->socket);
+ ssh_socket_set_read_wontblock(channels[i]->session->socket);
}
}