X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Fbenchmarks%2Frun-length-prefix.c;h=d88e3afaa7e7a69d7bb30cd0853c6ff8aafd6a29;hp=5eb33acf87401ae1eeefa18d6b78d5194a01f931;hb=0f16a4197c94bfa84dad56d0cb9a9c20438d0a45;hpb=e2ce04eac30ec613c858bd4cd2ca12e1c464edb8 diff --git a/ccan/io/benchmarks/run-length-prefix.c b/ccan/io/benchmarks/run-length-prefix.c index 5eb33acf..d88e3afa 100644 --- a/ccan/io/benchmarks/run-length-prefix.c +++ b/ccan/io/benchmarks/run-length-prefix.c @@ -157,11 +157,11 @@ int main(int argc, char *argv[]) err(1, "Accepting fd"); /* For efficiency, we share buffer */ client->request_buffer = buffer; - io_new_conn(ret, io_read_header(client), NULL, NULL); + io_new_conn(ret, io_read_header(client)); } } - io_new_conn(timeout[0], io_read(&buf, 1, do_timeout, &buf), NULL, NULL); + io_new_conn(timeout[0], io_read(&buf, 1, do_timeout, &buf)); close(wake[0]); for (i = 0; i < NUM_CHILDREN; i++)