From 282b9808c86b33518b7126dfd10da4498f5f87bc Mon Sep 17 00:00:00 2001 From: chombier <> Date: Sun, 24 Mar 2002 16:04:19 +0000 Subject: [PATCH] added lower case test for Little and Big endian indicators --- lsh/src/client_x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lsh/src/client_x11.c b/lsh/src/client_x11.c index c518f32..dda391d 100644 --- a/lsh/src/client_x11.c +++ b/lsh/src/client_x11.c @@ -234,11 +234,13 @@ do_client_channel_x11_receive(struct ssh_channel *s, switch (self->buffer->data[0]) { case 'B': /* Big endian */ + case 'b': /* Big endian */ self->little_endian = 0; self->name_length = READ_UINT16(self->buffer->data + 6); self->auth_length = READ_UINT16(self->buffer->data + 8); break; case 'L': /* Little endian */ + case 'l': /* Little endian */ self->little_endian = 1; self->name_length = LE_READ_UINT16(self->buffer->data + 6); self->auth_length = LE_READ_UINT16(self->buffer->data + 8);