diff options
Diffstat (limited to 'crypto/telnet/telnet/telnet.c')
-rw-r--r-- | crypto/telnet/telnet/telnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/telnet/telnet/telnet.c b/crypto/telnet/telnet/telnet.c index 1c1ee33..e171685 100644 --- a/crypto/telnet/telnet/telnet.c +++ b/crypto/telnet/telnet/telnet.c @@ -116,6 +116,7 @@ int donebinarytoggle, /* the user has put us in binary */ dontlecho, /* do we suppress local echoing right now? */ globalmode, + doaddrlookup = 1, /* do a reverse address lookup? */ clienteof = 0; char *prompt = 0; @@ -2083,7 +2084,7 @@ telsnd() } if ((sc == '\n') || (sc == '\r')) bol = 1; - } else if (sc == escape) { + } else if (escape != _POSIX_VDISABLE && sc == escape) { /* * Double escape is a pass through of a single escape character. */ |