]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/benchmarks/run-length-prefix.c
ccan/io: io_set_finish()
[ccan] / ccan / io / benchmarks / run-length-prefix.c
index 5eb33acf87401ae1eeefa18d6b78d5194a01f931..d88e3afaa7e7a69d7bb30cd0853c6ff8aafd6a29 100644 (file)
@@ -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++)