]> git.ozlabs.org Git - ccan/commitdiff
tal: make tal_len/tal_count(NULL) return 0.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jan 2017 06:22:00 +0000 (16:52 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jan 2017 06:22:00 +0000 (16:52 +1030)
Previously it crashed, but if you're always dealing with tal arrays,
this is painful.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found