]> git.ozlabs.org Git - ccan/commitdiff
io: fix typo in example.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 23 Jun 2022 04:41:58 +0000 (14:11 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 23 Jun 2022 04:41:58 +0000 (14:11 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.h

index 1197626f12671a80970b406ce52477bb1c6effed..4e3b4e936eca31be29d09d7841755d1cc9f2f1cf 100644 (file)
@@ -416,7 +416,6 @@ struct io_plan *io_out_always_(struct io_conn *conn,
  *    // Freed if conn closes normally.
  *    timeout = tal(conn, struct timeout_timer);
  *    timeout->conn = conn;
- *    timeout->t = conn;
  *    timer_addrel(&timers, &timeout->t, time_from_sec(5));
  *    return io_sock_shutdown(conn);
  * }