mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-26 20:02:13 +00:00
upstream commit
Remove leftover roaming dead code. ok djm markus. Upstream-ID: 13d1f9c8b65a5109756bcfd3b74df949d53615be
This commit is contained in:
parent
2813647180
commit
4c6cb83304
12
clientloop.c
12
clientloop.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: clientloop.c,v 1.281 2016/01/23 05:31:35 jsg Exp $ */
|
/* $OpenBSD: clientloop.c,v 1.282 2016/01/29 23:04:46 dtucker Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
@ -168,8 +168,6 @@ static u_int x11_refuse_time; /* If >0, refuse x11 opens after this time. */
|
|||||||
static void client_init_dispatch(void);
|
static void client_init_dispatch(void);
|
||||||
int session_ident = -1;
|
int session_ident = -1;
|
||||||
|
|
||||||
int session_resumed = 0;
|
|
||||||
|
|
||||||
/* Track escape per proto2 channel */
|
/* Track escape per proto2 channel */
|
||||||
struct escape_filter_ctx {
|
struct escape_filter_ctx {
|
||||||
int escape_pending;
|
int escape_pending;
|
||||||
@ -1686,14 +1684,6 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
|
|||||||
client_process_output(writeset);
|
client_process_output(writeset);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (session_resumed) {
|
|
||||||
connection_in = packet_get_connection_in();
|
|
||||||
connection_out = packet_get_connection_out();
|
|
||||||
max_fd = MAX(max_fd, connection_out);
|
|
||||||
max_fd = MAX(max_fd, connection_in);
|
|
||||||
session_resumed = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Send as much buffered packet data as possible to the
|
* Send as much buffered packet data as possible to the
|
||||||
* sender.
|
* sender.
|
||||||
|
Loading…
Reference in New Issue
Block a user