diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clientloop.c b/clientloop.c index 3a1b43dda..a62a71131 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.75 2001/06/04 23:07:20 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.76 2001/06/20 13:56:39 markus Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -546,7 +546,7 @@ process_escapes(Buffer *bin, Buffer *bout, Buffer *berr, char *buf, int len) | |||
546 | leave_raw_mode(); | 546 | leave_raw_mode(); |
547 | 547 | ||
548 | /* Stop listening for new connections. */ | 548 | /* Stop listening for new connections. */ |
549 | channel_stop_listening(); | 549 | channel_close_all(); /* proto1 only XXXX */ |
550 | 550 | ||
551 | printf("%c& [backgrounded]\n", escape_char); | 551 | printf("%c& [backgrounded]\n", escape_char); |
552 | 552 | ||
@@ -926,8 +926,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
926 | if (have_pty) | 926 | if (have_pty) |
927 | signal(SIGWINCH, SIG_DFL); | 927 | signal(SIGWINCH, SIG_DFL); |
928 | 928 | ||
929 | /* Stop listening for connections. */ | 929 | channel_free_all(); |
930 | channel_stop_listening(); | ||
931 | 930 | ||
932 | if (have_pty) | 931 | if (have_pty) |
933 | leave_raw_mode(); | 932 | leave_raw_mode(); |