Commit a9f9eb88 authored by Rusty Russell's avatar Rusty Russell

io/fdpass: fix example.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 60e31637
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
* *
* static struct io_plan *send_stdin(struct io_conn *conn, void *unused) * static struct io_plan *send_stdin(struct io_conn *conn, void *unused)
* { * {
* return io_send_fd(conn, STDIN_FILENO, io_close_cb, NULL); * return io_send_fd(conn, STDIN_FILENO, false, io_close_cb, NULL);
* } * }
* *
* static void parent(int sockfd) * static void parent(int sockfd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment