X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fbenchmarks%2Frun-length-prefix.c;h=d88e3afaa7e7a69d7bb30cd0853c6ff8aafd6a29;hb=f1f32a2ff565d98dd41326342eb05efc12fdb886;hp=5eb33acf87401ae1eeefa18d6b78d5194a01f931;hpb=57d9d1be33905691ec756b14b066181ca6850ced;p=ccan 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++)