]> andersk Git - openssh.git/blobdiff - channels.c
- stevesk@cvs.openbsd.org 2001/12/29 21:56:01
[openssh.git] / channels.c
index 7c0997c5dc2247d8252c34cb4d33a7e72d52e0da..4f02fc5b86192ecfdb8e92e2d57b0bfe1e2b4ba1 100644 (file)
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: channels.c,v 1.154 2001/12/28 15:06:00 markus Exp $");
+RCSID("$OpenBSD: channels.c,v 1.155 2001/12/29 21:56:01 stevesk Exp $");
 
 #include "ssh.h"
 #include "ssh1.h"
@@ -786,7 +786,7 @@ x11_open_helper(Buffer *b)
                return 0;
 
        /* Parse the lengths of variable-length fields. */
-       ucp = (u_char *) buffer_ptr(b);
+       ucp = buffer_ptr(b);
        if (ucp[0] == 0x42) {   /* Byte order MSB first. */
                proto_len = 256 * ucp[6] + ucp[7];
                data_len = 256 * ucp[8] + ucp[9];
This page took 0.360599 seconds and 4 git commands to generate.