Commit 1b11d06b authored by Rusty Russell's avatar Rusty Russell

time: fix example.

time_between()'s ordering matches time_sub, for better or worse.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 31bf658f
......@@ -249,7 +249,7 @@ static inline bool timeabs_eq(struct timeabs a, struct timeabs b)
* exit(0);
* }
* wait(NULL);
* diff = time_between(start, time_now());
* diff = time_between(time_now(), start);
* return timerel_eq(diff, zero);
* }
*/
......
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