summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-08-30 03:59:08 +0000
committerDamien Miller <djm@mindrot.org>2017-09-04 09:38:57 +1000
commit71e5a536ec815d542b199f2ae6d646c0db9f1b58 (patch)
treee5b03199a74b43fa69af7a047b2480a132d69e80 /clientloop.c
parent6227fe5b362239c872b91bbdee4bf63cf85aebc5 (diff)
upstream commit
pass packet state down to some of the channels function (more to come...); ok markus@ Upstream-ID: d8ce7a94f4059d7ac1e01fb0eb01de0c4b36c81b
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clientloop.c b/clientloop.c
index 248c9541f..2934c4763 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.301 2017/07/14 03:18:21 dtucker Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.302 2017/08/30 03:59:08 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -506,8 +506,8 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
506 int ret; 506 int ret;
507 507
508 /* Add any selections by the channel mechanism. */ 508 /* Add any selections by the channel mechanism. */
509 channel_prepare_select(readsetp, writesetp, maxfdp, nallocp, 509 channel_prepare_select(active_state, readsetp, writesetp, maxfdp,
510 &minwait_secs, rekeying); 510 nallocp, &minwait_secs);
511 511
512 /* channel_prepare_select could have closed the last channel */ 512 /* channel_prepare_select could have closed the last channel */
513 if (session_closed && !channel_still_open() && 513 if (session_closed && !channel_still_open() &&
@@ -1353,7 +1353,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1353 1353
1354 /* Do channel operations unless rekeying in progress. */ 1354 /* Do channel operations unless rekeying in progress. */
1355 if (!ssh_packet_is_rekeying(active_state)) 1355 if (!ssh_packet_is_rekeying(active_state))
1356 channel_after_select(readset, writeset); 1356 channel_after_select(active_state, readset, writeset);
1357 1357
1358 /* Buffer input from the connection. */ 1358 /* Buffer input from the connection. */
1359 client_process_net_input(readset); 1359 client_process_net_input(readset);