mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
Add the missing space between "if" and "("
Changelog-None
This commit is contained in:
committed by
Christian Decker
parent
0ac91b4f99
commit
2ea91f834c
@@ -162,7 +162,7 @@ static struct command *read_json_request(const tal_t *ctx,
|
||||
id = json_get_member(membuf_elems(&conn->mb), toks, "id");
|
||||
if (id) {
|
||||
cmd->id = tal(cmd, u64);
|
||||
if(!json_to_u64(membuf_elems(&conn->mb), id, cmd->id))
|
||||
if (!json_to_u64(membuf_elems(&conn->mb), id, cmd->id))
|
||||
plugin_err("JSON id '%*.s' is not a number",
|
||||
id->end - id->start,
|
||||
membuf_elems(&conn->mb) + id->start);
|
||||
|
||||
Reference in New Issue
Block a user