Commit 995dcf19 authored by Niels Möller's avatar Niels Möller
Browse files

* src/io.c (write_callback): Use the write_buffer_consume()


Rev: src/io.c:1.50
parent da5752fd
...@@ -341,7 +341,7 @@ static void write_callback(struct lsh_fd *fd) ...@@ -341,7 +341,7 @@ static void write_callback(struct lsh_fd *fd)
break; break;
} }
else else
self->buffer->start += res; write_buffer_consume(self->buffer, res);
} }
static void listen_callback(struct lsh_fd *fd) static void listen_callback(struct lsh_fd *fd)
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