X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fbenchmarks%2Frun-different-speed.c;h=5ee15ea6d0235ce929b0e171db24e4c8eb977a1e;hb=0f16a4197c94bfa84dad56d0cb9a9c20438d0a45;hp=7a95fd8426bbbf8020f93db8177c98654da41c07;hpb=57d9d1be33905691ec756b14b066181ca6850ced;p=ccan diff --git a/ccan/io/benchmarks/run-different-speed.c b/ccan/io/benchmarks/run-different-speed.c index 7a95fd84..5ee15ea6 100644 --- a/ccan/io/benchmarks/run-different-speed.c +++ b/ccan/io/benchmarks/run-different-speed.c @@ -152,12 +152,11 @@ int main(int argc, char *argv[]) /* For efficiency, we share client structure */ io_new_conn(ret, io_read(client.request_buffer, REQUEST_SIZE, - write_reply, &client), - NULL, NULL); + write_reply, &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++)