tal/str: make tal_count() work for strsplit.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:39 +0000 (19:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:39 +0000 (19:29 +1030)
commit737dcc0fe959d67eb29f57df37b0d7f188e0213d
treeee009b080a5617d4db6f15ccf94e4bd4356f4a75
parent83c75170a2be2e3fa58a139f866e957aa6b82995
tal/str: make tal_count() work for strsplit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/str/str.c
ccan/tal/str/str.h
ccan/tal/str/test/run.c