summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ttymodes.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-04-15 01:35:23 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-04-15 01:35:23 +0000
commit6a6d39493715227cd1ff47cbb9f1fc7c7fabea8e (patch)
treecbfabbafd8b2bbc419ebc7988404d69ea267428d /usr.bin/ssh/ttymodes.c
parent10053868fb6cf7f423d4efc5db391c103b610eea (diff)
fix comments
Diffstat (limited to 'usr.bin/ssh/ttymodes.c')
-rw-r--r--usr.bin/ssh/ttymodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ttymodes.c b/usr.bin/ssh/ttymodes.c
index 9ce3fbcc47e..6124cb4b12b 100644
--- a/usr.bin/ssh/ttymodes.c
+++ b/usr.bin/ssh/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)