summaryrefslogtreecommitdiff
path: root/ttymodes.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-15 14:25:12 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-15 14:25:12 +0000
commitac2f00390392b22bfc971146e61c440ce62cf242 (patch)
tree9158af1bf3e83d8d268ee919aae1feae7254977c /ttymodes.c
parente626cf8b4aa4443d7c2cec937ddc5e36cb5d89ee (diff)
downloadopenssh-git-ac2f00390392b22bfc971146e61c440ce62cf242.tar.gz
- OpenBSD CVS Sync
- stevesk@cvs.openbsd.org 2001/04/15 01:35:22 [ttymodes.c] fix comments
Diffstat (limited to 'ttymodes.c')
-rw-r--r--ttymodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ttymodes.c b/ttymodes.c
index 9ce3fbcc..6124cb4b 100644
--- a/ttymodes.c
+++ b/ttymodes.c
@@ -43,7 +43,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ttymodes.c,v 1.12 2001/04/14 16:33:20 stevesk Exp $");
+RCSID("$OpenBSD: ttymodes.c,v 1.13 2001/04/15 01:35:22 stevesk Exp $");
#include "packet.h"
#include "log.h"
@@ -428,7 +428,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr)
} else {
/*
* SSH2:
- * Opcodes 0 to 159 are defined to have
+ * Opcodes 1 to 159 are defined to have
* a uint32 argument.
* Opcodes 160 to 255 are undefined and
* cause parsing to stop.
@@ -453,7 +453,7 @@ set:
return; /* Don't process bytes passed */
}
if (failure == -1)
- return; /* Packet parsed ok but tty stuff failed */
+ return; /* Packet parsed ok but tcgetattr() failed */
/* Set the new modes for the terminal. */
if (tcsetattr(fd, TCSANOW, &tio) == -1)