From 7ce19b0bc884f61880647e3b4e308f9b1dff76c2 Mon Sep 17 00:00:00 2001 From: Mark Beckwith Date: Wed, 11 Jul 2018 09:17:06 -0500 Subject: [PATCH] Improved comment. Signed-off-by: Mark Beckwith --- lightningd/params.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lightningd/params.h b/lightningd/params.h index 9d6382fd7..aabb7d7fa 100644 --- a/lightningd/params.h +++ b/lightningd/params.h @@ -81,9 +81,8 @@ typedef bool(*param_cb)(const char *buffer, const jsmntok_t *tok, void *arg); sizeof(**(arg)) /* - * Similar to param_req but for optional parameters. - * If not found during parsing, @arg will be set to @def. - * allocated, otherwise it will be set to NULL. + * Similar to param_req but for optional parameters with defaults. + * @arg will be set to @def if it isn't found during parsing. */ #define param_opt_default(name, cb, arg, def) \ name"", \