diff -r 20ce0029e4a0 -r 5001564ac5fc src/line_proto.c --- a/src/line_proto.c Sat Feb 28 20:23:37 2009 +0200 +++ b/src/line_proto.c Sat Feb 28 21:39:15 2009 +0200 @@ -43,7 +43,7 @@ static void line_proto_on_read (struct sock_stream *sock, void *arg) { struct line_proto *lp = arg; - const char *line; + char *line; // sanity-check assert(lp->tail_offset < lp->buf_len); @@ -155,7 +155,7 @@ return next; } -err_t line_proto_read (struct line_proto *lp, const char **line_ptr) +err_t line_proto_read (struct line_proto *lp, char **line_ptr) { // offset to recv() new data into, offset to _parse_line hint, offset to next line from _parse_line size_t recv_offset = 0, peek_offset = 0, next_offset = 0;