summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:18:15 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:18:15 +1100
commit708d21c8028ed2bf137a0c4ff75bf7c6bfeff6e9 (patch)
treee878520026f2a9e970f4152da6ffb3b864a2a195 /channels.c
parentdc9e067614947f2f2b0866cb1bc75e6ac620fb7f (diff)
- stevesk@cvs.openbsd.org 2001/12/29 21:56:01
[authfile.c channels.c compress.c packet.c sftp-server.c ssh-agent.c ssh-keygen.c] remove unneeded casts and some char->u_char cleanup; ok markus@
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.c b/channels.c
index 7c0997c5d..4f02fc5b8 100644
--- a/channels.c
+++ b/channels.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: channels.c,v 1.154 2001/12/28 15:06:00 markus Exp $"); 42RCSID("$OpenBSD: channels.c,v 1.155 2001/12/29 21:56:01 stevesk Exp $");
43 43
44#include "ssh.h" 44#include "ssh.h"
45#include "ssh1.h" 45#include "ssh1.h"
@@ -786,7 +786,7 @@ x11_open_helper(Buffer *b)
786 return 0; 786 return 0;
787 787
788 /* Parse the lengths of variable-length fields. */ 788 /* Parse the lengths of variable-length fields. */
789 ucp = (u_char *) buffer_ptr(b); 789 ucp = buffer_ptr(b);
790 if (ucp[0] == 0x42) { /* Byte order MSB first. */ 790 if (ucp[0] == 0x42) { /* Byte order MSB first. */
791 proto_len = 256 * ucp[6] + ucp[7]; 791 proto_len = 256 * ucp[6] + ucp[7];
792 data_len = 256 * ucp[8] + ucp[9]; 792 data_len = 256 * ucp[8] + ucp[9];