tal: make tal_next() only return immediate children.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 7 Sep 2016 04:27:01 +0000 (13:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 7 Sep 2016 04:32:38 +0000 (14:02 +0930)
commite81b527384ad5331a9cd35a9f21bc8ac6b16d137
treecfd1bdbf54f1b12adc72e31071ed3f64b4b93913
parent5e37a0febfb89a2535f2eb9f0ea06a5546a39234
tal: make tal_next() only return immediate children.

I tried to use it and got this wrong: moreover, I wanted to control
topology, which requires nested iteration, and skip children
of a node which I knew was changing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 files changed:
ccan/tal/path/test/run-basename.c
ccan/tal/path/test/run-canon.c
ccan/tal/path/test/run-dirname.c
ccan/tal/path/test/run-join.c
ccan/tal/path/test/run-readlink.c
ccan/tal/path/test/run-split.c
ccan/tal/str/test/helper.h
ccan/tal/tal.c
ccan/tal/tal.h
ccan/tal/test/run-expand.c
ccan/tal/test/run-iter.c
ccan/tal/test/run-overflow.c
ccan/tal/test/run.c