]> git.ozlabs.org Git - ccan/commitdiff
io/fdpass: fix example.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 15 Mar 2017 02:38:13 +0000 (13:08 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 15 Mar 2017 02:38:13 +0000 (13:08 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/fdpass/_info

index 406b2f5c2a7b53757043ca8ecc160bc259b9c6ac..ba09025aaf8e5bed001debd89a018f9385415910 100644 (file)
@@ -58,7 +58,7 @@
  *
  *     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)