]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-01-start-finish.c
ccan/io: get rid of io_next(), pass callbacks directly.
[ccan] / ccan / io / test / run-01-start-finish.c
index 837a12698faf13f76e4904a6fa0a94c42648b6d3..a2393d9fa2005cb58e244cc99ebf40974fbc16ce 100644 (file)
@@ -17,7 +17,7 @@ static void finish_ok(struct io_conn *conn, int *state)
 {
        ok1(*state == 1);
        (*state)++;
-       io_break(state + 1, NULL);
+       io_break(conn, state + 1, NULL, NULL);
 }
 
 static int make_listen_fd(const char *port, struct addrinfo **info)