]> git.ozlabs.org Git - ccan/commit - ccan/tal/tal.h
tal: rename tal_len to tal_bytelen.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 27 Jul 2018 04:20:42 +0000 (13:50 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 27 Jul 2018 04:20:42 +0000 (13:50 +0930)
commit2cd5e81d8beefb95db66f80c6e6d4bbdc989055a
treeaa915fe9874883f3e56678b8f68cd3fa39b9afb1
parent92be2eff52133138e4975308f6e731c46b53ace1
tal: rename tal_len to tal_bytelen.

I had a bug caused by using tal_len instead of tal_count: let's make
it explicit. @jb55 commented "ha. I always forget which one does which... Ack"

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