| 36 | } |
| 37 | |
| 38 | struct io_plan *daemon_conn_read_next(struct io_conn *conn, |
| 39 | struct daemon_conn *dc) |
| 40 | { |
| 41 | /* FIXME: We could use disposable parent instead, and recv() could |
| 42 | * tal_steal() it? If they did that now, we'd free it here. */ |
| 43 | tal_free(dc->msg_in); |
| 44 | return io_read_wire(conn, dc, &dc->msg_in, handle_read, dc); |
| 45 | } |
| 46 | |
| 47 | static struct io_plan *handle_recv_fd(struct io_conn *conn, |
| 48 | struct daemon_conn *dc) |
no test coverage detected