Browse Source

io/fdpass: fix example.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 9 years ago
parent
commit
a9f9eb8826
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/io/fdpass/_info

+ 1 - 1
ccan/io/fdpass/_info

@@ -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)