io: use normal linked lists.
[ccan] / ccan / io / io.c
index 0e716fced062c594d42955603e3fcfd2af67d3bb..cd5557d16af9a5d7bf2e3003febfb89237ff7603 100644 (file)
@@ -92,7 +92,8 @@ struct io_conn *io_new_conn_(const tal_t *ctx, int fd,
        conn->fd.fd = fd;
        conn->finish = NULL;
        conn->finish_arg = NULL;
-       conn->list = NULL;
+       list_node_init(&conn->always);
+       list_node_init(&conn->closing);
        conn->debug = false;
 
        if (!add_conn(conn))