]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-01-start-finish.c
ccan/io: remove conn arg from io_plan constructors.
[ccan] / ccan / io / test / run-01-start-finish.c
index 7c6ae4155f3b052202d6dfb55f02c0b77f28479d..b879a2c832fee1bcc0253bac85e6bb8a2eb3b692 100644 (file)
@@ -17,7 +17,7 @@ static void finish_ok(struct io_conn *conn, int *state)
 {
        ok1(*state == 1);
        (*state)++;
-       io_break(conn, state + 1, NULL, NULL);
+       io_break(state + 1, NULL, NULL);
 }
 
 static int make_listen_fd(const char *port, struct addrinfo **info)