- OpenBSD CVS Sync

- stevesk@cvs.openbsd.org 2001/04/15 01:35:22
     [ttymodes.c]
     fix comments
This commit is contained in:
Ben Lindstrom 2001-04-15 14:25:12 +00:00
parent e626cf8b4a
commit ac2f003903
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
20010416
- OpenBSD CVS Sync
- stevesk@cvs.openbsd.org 2001/04/15 01:35:22
[ttymodes.c]
fix comments
20010415 20010415
- OpenBSD CVS Sync - OpenBSD CVS Sync
- deraadt@cvs.openbsd.org 2001/04/14 04:31:01 - deraadt@cvs.openbsd.org 2001/04/14 04:31:01
@ -15,7 +21,7 @@
- stevesk@cvs.openbsd.org 2001/04/14 17:04:42 - stevesk@cvs.openbsd.org 2001/04/14 17:04:42
[scp.c] [scp.c]
'T' handling rcp/scp sync; ok markus@ 'T' handling rcp/scp sync; ok markus@
- Missed sshtty.[ch] in Sync. - Missed sshtty.[ch] in Sync.
20010414 20010414
- Sync with OpenBSD glob.c, strlcat.c and vis.c changes - Sync with OpenBSD glob.c, strlcat.c and vis.c changes
@ -5082,4 +5088,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1116 2001/04/14 23:21:50 mouring Exp $ $Id: ChangeLog,v 1.1117 2001/04/15 14:25:12 mouring Exp $

View File

@ -43,7 +43,7 @@
*/ */
#include "includes.h" #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 "packet.h"
#include "log.h" #include "log.h"
@ -428,7 +428,7 @@ tty_parse_modes(int fd, int *n_bytes_ptr)
} else { } else {
/* /*
* SSH2: * SSH2:
* Opcodes 0 to 159 are defined to have * Opcodes 1 to 159 are defined to have
* a uint32 argument. * a uint32 argument.
* Opcodes 160 to 255 are undefined and * Opcodes 160 to 255 are undefined and
* cause parsing to stop. * cause parsing to stop.
@ -453,7 +453,7 @@ set:
return; /* Don't process bytes passed */ return; /* Don't process bytes passed */
} }
if (failure == -1) 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. */ /* Set the new modes for the terminal. */
if (tcsetattr(fd, TCSANOW, &tio) == -1) if (tcsetattr(fd, TCSANOW, &tio) == -1)