]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-08-read-after-hangup.c
ccan/io: eliminate dir argument from io_wait and io_always.
[ccan] / ccan / io / test / run-08-read-after-hangup.c
index f9ed267d80ce1effc7c555073371ef49cfff6966..7b6731ec9da2fa58fcffc242ca1214abe8d36e37 100644 (file)
@@ -27,7 +27,7 @@ static struct io_plan *init_writer(struct io_conn *conn, struct io_conn *wakeme)
 
 static struct io_plan *init_waiter(struct io_conn *conn, void *unused)
 {
-       return io_wait(conn, inbuf, IO_IN, read_buf, NULL);
+       return io_wait(conn, inbuf, read_buf, NULL);
 }
 
 int main(void)