X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-04-writepartial.c;h=8cfb2abeb16bb126c8db502ede3358fcf46d8ba2;hb=3a7b8a8a8081ebbb6457527de376dec6264bc381;hp=c80238fe5004145244d87c978cd079e39cf524cb;hpb=869dc1528e64604e9264c6f12e0f2cb79bf3d79e;p=ccan diff --git a/ccan/io/test/run-04-writepartial.c b/ccan/io/test/run-04-writepartial.c index c80238fe..8cfb2abe 100644 --- a/ccan/io/test/run-04-writepartial.c +++ b/ccan/io/test/run-04-writepartial.c @@ -28,7 +28,7 @@ static void init_conn(int fd, struct data *d) ok1(d->state == 0); d->state++; io_set_finish(io_new_conn(fd, - io_write_partial(d->buf, &d->bytes, io_close, d)), + io_write_partial(d->buf, &d->bytes, io_close_cb, d)), finish_ok, d); }