mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
params: Fix arg size
Fixes #1668 Reported-by: @jsarenik Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
parent
7ce19b0bc8
commit
891dee739d
@ -65,7 +65,7 @@ typedef bool(*param_cb)(const char *buffer, const jsmntok_t *tok, void *arg);
|
||||
(arg) + 0*sizeof((cb)((const char *)NULL, \
|
||||
(const jsmntok_t *)NULL, \
|
||||
(arg)) == true), \
|
||||
0
|
||||
(size_t)0
|
||||
/*
|
||||
* Similar to above but for optional parameters.
|
||||
* @arg must be the address of a pointer. If found during parsing, it will be
|
||||
|
Loading…
Reference in New Issue
Block a user