| 939 | } |
| 940 | |
| 941 | static struct io_plan *setup_read(struct io_conn *conn, struct lightningd *ld) |
| 942 | { |
| 943 | /* We read and discard. */ |
| 944 | static char discard; |
| 945 | return io_read(conn, &discard, 1, rotate_log, ld); |
| 946 | } |
| 947 | |
| 948 | static void setup_log_rotation(struct lightningd *ld) |
| 949 | { |