X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fio%2Ftest%2Frun-07-break.c;h=d789659175625da1078450db18912624930115e3;hb=733b09fa8b6083949ff62795e54851aa282d510c;hp=5bc0e8c68be8ac4a89debb5f44e67ea3d0a47274;hpb=625bae8f5720d3ad3253ea9b26ad68abcd81bde5;p=ccan diff --git a/ccan/io/test/run-07-break.c b/ccan/io/test/run-07-break.c index 5bc0e8c6..d7896591 100644 --- a/ccan/io/test/run-07-break.c +++ b/ccan/io/test/run-07-break.c @@ -15,14 +15,14 @@ static struct io_plan plan_read(struct io_conn *conn, struct data *d) { ok1(d->state == 1); d->state++; - return io_read(conn, d->buf, sizeof(d->buf), io_close, d); + return io_read(d->buf, sizeof(d->buf), io_close, d); } static struct io_plan start_break(struct io_conn *conn, struct data *d) { ok1(d->state == 0); d->state++; - return io_break(conn, d, plan_read, d); + return io_break(d, plan_read, d); } static void finish_ok(struct io_conn *conn, struct data *d)