]> andersk Git - openssh.git/commitdiff
- OpenBSD CVS Sync
authormouring <mouring>
Sun, 15 Apr 2001 14:25:12 +0000 (14:25 +0000)
committermouring <mouring>
Sun, 15 Apr 2001 14:25:12 +0000 (14:25 +0000)
   - stevesk@cvs.openbsd.org 2001/04/15 01:35:22
     [ttymodes.c]
     fix comments

ChangeLog
ttymodes.c

index e40baa8a20a00e2e2377882fae41b06e043f7d86..17681fea932a29f2af35e6afb78f99d2df16a3a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+20010416
+  - OpenBSD CVS Sync
+   - stevesk@cvs.openbsd.org 2001/04/15 01:35:22
+     [ttymodes.c]
+     fix comments
+
 20010415
  - OpenBSD CVS Sync
    - deraadt@cvs.openbsd.org 2001/04/14 04:31:01
@@ -15,7 +21,7 @@
    - stevesk@cvs.openbsd.org 2001/04/14 17:04:42
      [scp.c]
      'T' handling rcp/scp sync; ok markus@
 - Missed sshtty.[ch] in Sync.
+ - Missed sshtty.[ch] in Sync.
 
 20010414
  - Sync with OpenBSD glob.c, strlcat.c and vis.c changes
index 9ce3fbcc47e3ace6989a3427cb45d5d8c6bd6350..6124cb4b12b9f8f15c98a20790b8bac75da63a61 100644 (file)
@@ -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)
This page took 0.047807 seconds and 5 git commands to generate.