Commit 58da0b0c authored by Niels Möller's avatar Niels Möller

(do_client_channel_x11_receive): Fixed parser

bookkeeping. Was broken before the 1.5.4 release. Problem reported
by Kaloian Doganov.

Rev: src/client_x11.c:
parent 7f48a966
......@@ -211,6 +211,7 @@ do_client_channel_x11_receive(struct ssh_channel *s,
/* The small initial window size should ensure that all the
data fits. */
lsh_string_write_string(self->buffer, self->i, data);
self->i += lsh_string_length(data);
buffer = lsh_string_data(self->buffer);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment