diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clientloop.c b/clientloop.c index cea6e77dc..74926836d 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.71 2001/05/16 21:53:53 markus Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.72 2001/05/24 18:57:53 stevesk Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -572,7 +572,7 @@ process_escapes(Buffer *bin, Buffer *bout, Buffer *berr, char *buf, int len) | |||
572 | "%c?\r\n\ | 572 | "%c?\r\n\ |
573 | Supported escape sequences:\r\n\ | 573 | Supported escape sequences:\r\n\ |
574 | ~. - terminate connection\r\n\ | 574 | ~. - terminate connection\r\n\ |
575 | ~R - Request rekey (SSH protocol 2 only)\r\n\ | 575 | ~R - Request rekey (SSH protocol 2 only)\r\n\ |
576 | ~^Z - suspend ssh\r\n\ | 576 | ~^Z - suspend ssh\r\n\ |
577 | ~# - list forwarded connections\r\n\ | 577 | ~# - list forwarded connections\r\n\ |
578 | ~& - background ssh (when waiting for connections to terminate)\r\n\ | 578 | ~& - background ssh (when waiting for connections to terminate)\r\n\ |
@@ -657,7 +657,7 @@ client_process_input(fd_set * readset) | |||
657 | packet_start(SSH_CMSG_EOF); | 657 | packet_start(SSH_CMSG_EOF); |
658 | packet_send(); | 658 | packet_send(); |
659 | } | 659 | } |
660 | } else if (escape_char == -1) { | 660 | } else if (escape_char == SSH_ESCAPECHAR_NONE) { |
661 | /* | 661 | /* |
662 | * Normal successful read, and no escape character. | 662 | * Normal successful read, and no escape character. |
663 | * Just append the data to buffer. | 663 | * Just append the data to buffer. |
@@ -765,8 +765,8 @@ client_channel_closed(int id, void *arg) | |||
765 | /* | 765 | /* |
766 | * Implements the interactive session with the server. This is called after | 766 | * Implements the interactive session with the server. This is called after |
767 | * the user has been authenticated, and a command has been started on the | 767 | * the user has been authenticated, and a command has been started on the |
768 | * remote host. If escape_char != -1, it is the character used as an escape | 768 | * remote host. If escape_char != SSH_ESCAPECHAR_NONE, it is the character |
769 | * character for terminating or suspending the session. | 769 | * used as an escape character for terminating or suspending the session. |
770 | */ | 770 | */ |
771 | 771 | ||
772 | int | 772 | int |
@@ -829,7 +829,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
829 | 829 | ||
830 | if (compat20) { | 830 | if (compat20) { |
831 | session_ident = ssh2_chan_id; | 831 | session_ident = ssh2_chan_id; |
832 | if (escape_char != -1) | 832 | if (escape_char != SSH_ESCAPECHAR_NONE) |
833 | channel_register_filter(session_ident, | 833 | channel_register_filter(session_ident, |
834 | simple_escape_filter); | 834 | simple_escape_filter); |
835 | if (session_ident != -1) | 835 | if (session_ident != -1) |