]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-08-hangup-on-idle.c
ccan/io: eliminate dir argument from io_wait and io_always.
[ccan] / ccan / io / test / run-08-hangup-on-idle.c
index c1ff1e6eec9745a730a2b5677adfa91824c5d306..52309b4bf018045830f6a5a7f02ef6abf0921151 100644 (file)
@@ -15,7 +15,7 @@ static struct io_plan *read_in(struct io_conn *conn, char *buf)
 
 static struct io_plan *setup_waiter(struct io_conn *conn, char *buf)
 {
-       return io_wait(conn, buf, IO_IN, read_in, buf);
+       return io_wait(conn, buf, read_in, buf);
 }
 
 static struct io_plan *wake_and_close(struct io_conn *conn, char *buf)