changeset 11 | 14e79683c48c |
parent 10 | 9fe218576d13 |
child 12 | 4147fae232d9 |
--- a/src/line_proto.c Sun Feb 22 10:16:28 2009 +0200 +++ b/src/line_proto.c Sat Feb 28 17:39:37 2009 +0200 @@ -56,7 +56,7 @@ // got a line? if (line) - lp->cb_read(lp, line, lp->cb_arg); + lp->cb_read(line, lp->cb_arg); } while (line); @@ -104,6 +104,7 @@ // initialize event-based stuff sock_stream_event_init(sock, &line_proto_sock_stream_callbacks, lp); + line_proto_schedule_events(lp, EV_READ); // return *lp_ptr = lp;