diff options
Diffstat (limited to 'usr.bin/telnet/telnet.c')
-rw-r--r-- | usr.bin/telnet/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/telnet/telnet.c b/usr.bin/telnet/telnet.c index da8b0e1..8d2aa87 100644 --- a/usr.bin/telnet/telnet.c +++ b/usr.bin/telnet/telnet.c @@ -1987,7 +1987,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. */ |