summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authordtucker <dtucker@openbsd.org>2016-01-29 23:04:46 +0000
committerdtucker <dtucker@openbsd.org>2016-01-29 23:04:46 +0000
commita3e8beee7d309c331b0ccfc2978881a6ccbfe40e (patch)
tree8f65cb25357ce6aa43d9e77d00c9e7155a87f4c1 /usr.bin/ssh/clientloop.c
parentFold struct block0 into struct partition map. There can be only one (diff)
downloadwireguard-openbsd-a3e8beee7d309c331b0ccfc2978881a6ccbfe40e.tar.xz
wireguard-openbsd-a3e8beee7d309c331b0ccfc2978881a6ccbfe40e.zip
Remove leftover roaming dead code. ok djm markus.
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r--usr.bin/ssh/clientloop.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index 80395a1f9a4..9bdd5e322cb 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/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>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -160,8 +160,6 @@ static u_int x11_refuse_time; /* If >0, refuse x11 opens after this time. */
static void client_init_dispatch(void);
int session_ident = -1;
-int session_resumed = 0;
-
/* Track escape per proto2 channel */
struct escape_filter_ctx {
int escape_pending;
@@ -1674,14 +1672,6 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
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
* sender.