]> git.ozlabs.org Git - ccan/commit
tal: take implies NULL passthrough.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:37:50 +0000 (10:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:37:50 +0000 (10:07 +1030)
commitbb480e553f9d204b85a2e42de0be42c7b80eebda
tree3ce8076873fd8fed9e766fcf30f110886393adcb
parente03d7ecb505cb73ff244708323b0f1a5a0c5cd7a
tal: take implies NULL passthrough.

This makes error handling much more convenient, since take is usually
used for chaining functions.

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