X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-07-break.c;h=19cc6a8e662b393f8f672e3a46d1340d37e2a634;hp=6fcaea341b58f1123ab72a322d3260dd71f53ba2;hb=f7ab2c65d40839a327e50876dc2708ab7b11aa52;hpb=0f16a4197c94bfa84dad56d0cb9a9c20438d0a45 diff --git a/ccan/io/test/run-07-break.c b/ccan/io/test/run-07-break.c index 6fcaea34..19cc6a8e 100644 --- a/ccan/io/test/run-07-break.c +++ b/ccan/io/test/run-07-break.c @@ -19,7 +19,7 @@ static struct io_plan read_done(struct io_conn *conn, struct data *d) { ok1(d->state == 1); d->state++; - return io_close(conn, NULL); + return io_close(); } static void finish_ok(struct io_conn *conn, struct data *d)