Commit 3cc15288 authored by Niels Möller's avatar Niels Möller
Browse files

* src/socks.c (do_read_socks): Bugfix, update self->pos.

Rev: src/socks.c:1.4
parent c96fb4bd
...@@ -331,6 +331,7 @@ do_read_socks(struct read_handler **h, ...@@ -331,6 +331,7 @@ do_read_socks(struct read_handler **h,
available = self->length - self->pos; available = self->length - self->pos;
lsh_string_write(self->buffer, self->pos, available, data); lsh_string_write(self->buffer, self->pos, available, data);
self->pos = self->length;
p = lsh_string_data(self->buffer); p = lsh_string_data(self->buffer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment