diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-15 14:25:12 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-15 14:25:12 +0000 |
commit | ac2f00390392b22bfc971146e61c440ce62cf242 (patch) | |
tree | 9158af1bf3e83d8d268ee919aae1feae7254977c /ttymodes.c | |
parent | e626cf8b4aa4443d7c2cec937ddc5e36cb5d89ee (diff) |
- 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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ttymodes.c b/ttymodes.c index 9ce3fbcc4..6124cb4b1 100644 --- a/ttymodes.c +++ b/ttymodes.c | |||
@@ -43,7 +43,7 @@ | |||
43 | */ | 43 | */ |
44 | 44 | ||
45 | #include "includes.h" | 45 | #include "includes.h" |
46 | RCSID("$OpenBSD: ttymodes.c,v 1.12 2001/04/14 16:33:20 stevesk Exp $"); | 46 | RCSID("$OpenBSD: ttymodes.c,v 1.13 2001/04/15 01:35:22 stevesk Exp $"); |
47 | 47 | ||
48 | #include "packet.h" | 48 | #include "packet.h" |
49 | #include "log.h" | 49 | #include "log.h" |
@@ -428,7 +428,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr) | |||
428 | } else { | 428 | } else { |
429 | /* | 429 | /* |
430 | * SSH2: | 430 | * SSH2: |
431 | * Opcodes 0 to 159 are defined to have | 431 | * Opcodes 1 to 159 are defined to have |
432 | * a uint32 argument. | 432 | * a uint32 argument. |
433 | * Opcodes 160 to 255 are undefined and | 433 | * Opcodes 160 to 255 are undefined and |
434 | * cause parsing to stop. | 434 | * cause parsing to stop. |
@@ -453,7 +453,7 @@ set: | |||
453 | return; /* Don't process bytes passed */ | 453 | return; /* Don't process bytes passed */ |
454 | } | 454 | } |
455 | if (failure == -1) | 455 | if (failure == -1) |
456 | return; /* Packet parsed ok but tty stuff failed */ | 456 | return; /* Packet parsed ok but tcgetattr() failed */ |
457 | 457 | ||
458 | /* Set the new modes for the terminal. */ | 458 | /* Set the new modes for the terminal. */ |
459 | if (tcsetattr(fd, TCSANOW, &tio) == -1) | 459 | if (tcsetattr(fd, TCSANOW, &tio) == -1) |