From: Rusty Russell Date: Tue, 24 Jan 2017 06:22:00 +0000 (+1030) Subject: tal: make tal_len/tal_count(NULL) return 0. X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=9b3f4ef6eec6a5981dcaa62f45da49b8f4f95388;hp=9b3f4ef6eec6a5981dcaa62f45da49b8f4f95388;p=ccan tal: make tal_len/tal_count(NULL) return 0. Previously it crashed, but if you're always dealing with tal arrays, this is painful. Signed-off-by: Rusty Russell ---