tal: store length in bytes, not count, and always store if CCAN_TAL_DEBUG.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Sep 2016 04:20:32 +0000 (13:50 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Sep 2016 04:20:32 +0000 (13:50 +0930)
commit8f8c8b8804110b09c98f44b439d14303cc36542d
treef6f9ab7c5e31107570e0b3efcca5d95cbe13e5a9
parent77aa87f08799dafb2f4db6e967f0a3996e5ba883
tal: store length in bytes, not count, and always store if CCAN_TAL_DEBUG.

Useful for scanning all the memory, or tallying it.

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