assert(conn == buf->reader);
if (buf->iters == NUM_ITERS)
- return io_close(conn, NULL);
+ return io_close();
/* You write. */
io_wake(buf->writer,
io_read(&buf->buf, sizeof(buf->buf), poke_writer, buf));
if (++buf->iters == NUM_ITERS)
- return io_close(conn, NULL);
+ return io_close();
/* I'll wait until you tell me to write. */
return io_idle();