From: Rusty Russell Date: Tue, 10 Jun 2014 01:38:01 +0000 (+0930) Subject: tal: fix tal_check description X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=0112c6a13f4bab7f794e6e2bde397738b8d2b540 tal: fix tal_check description Cut & paste bug. Signed-off-by: Rusty Russell --- diff --git a/ccan/tal/tal.h b/ccan/tal/tal.h index 0b050759..3da1e420 100644 --- a/ccan/tal/tal.h +++ b/ccan/tal/tal.h @@ -355,13 +355,16 @@ void tal_cleanup(void); /** - * tal_check - set the allocation or error functions to use + * tal_check - sanity check a tal context and its children. * @ctx: a tal context, or NULL. * @errorstr: a string to prepend calls to error_fn, or NULL. * * This sanity-checks a tal tree (unless NDEBUG is defined, in which case * it simply returns true). If errorstr is not null, error_fn is called * when a problem is found, otherwise it is not. + * + * See also: + * tal_set_backend() */ bool tal_check(const tal_t *ctx, const char *errorstr);