mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
param: upgraded json_tok_escaped_string
Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
committed by
Rusty Russell
parent
8590dbedfb
commit
aa60057134
@@ -13,9 +13,9 @@ struct json_escaped *json_escaped_string_(const tal_t *ctx,
|
||||
return esc;
|
||||
}
|
||||
|
||||
struct json_escaped *json_tok_escaped_string(const tal_t *ctx,
|
||||
const char *buffer,
|
||||
const jsmntok_t *tok)
|
||||
struct json_escaped *json_to_escaped_string(const tal_t *ctx,
|
||||
const char *buffer,
|
||||
const jsmntok_t *tok)
|
||||
{
|
||||
if (tok->type != JSMN_STRING)
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user