#include <sys/wait.h>
#include <stdio.h>
-static struct io_op *start_ok(struct io_conn *conn, int *state)
+static struct io_plan *start_ok(struct io_conn *conn, int *state)
{
ok1(*state == 0);
(*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)