X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-08-read-after-hangup.c;fp=ccan%2Fio%2Ftest%2Frun-08-read-after-hangup.c;h=7b6731ec9da2fa58fcffc242ca1214abe8d36e37;hb=6109a0a6140acbbfe5e998f7d7ea1215f035cb90;hp=f9ed267d80ce1effc7c555073371ef49cfff6966;hpb=cdffdf5d61f8330cfc3467e73a84876eb3928e9b;p=ccan diff --git a/ccan/io/test/run-08-read-after-hangup.c b/ccan/io/test/run-08-read-after-hangup.c index f9ed267d..7b6731ec 100644 --- a/ccan/io/test/run-08-read-after-hangup.c +++ b/ccan/io/test/run-08-read-after-hangup.c @@ -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)