X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-03-readpartial.c;h=7ecccc7412cd2aa3f2b5342614a695168e5e46d9;hb=5a510ed5696255910fd42adb47d7c1ffa728a116;hp=d5411848b85673ea0808a4b5aad7e5f8d8924c6e;hpb=0f16a4197c94bfa84dad56d0cb9a9c20438d0a45;p=ccan diff --git a/ccan/io/test/run-03-readpartial.c b/ccan/io/test/run-03-readpartial.c index d5411848..7ecccc74 100644 --- a/ccan/io/test/run-03-readpartial.c +++ b/ccan/io/test/run-03-readpartial.c @@ -30,7 +30,7 @@ static void init_conn(int fd, struct data *d) d->bytes = sizeof(d->buf); io_set_finish(io_new_conn(fd, - io_read_partial(d->buf, &d->bytes, io_close, d)), + io_read_partial(d->buf, &d->bytes, io_close_cb, d)), finish_ok, d); }