mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
param: remove old callback code
Cleaned up remaining code. Reduced comment noise. Reverted macro names back to the original. Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
committed by
Rusty Russell
parent
fa55e2cab0
commit
a3178b8177
@@ -88,9 +88,9 @@ static void json_connect(struct command *cmd,
|
||||
struct peer *peer;
|
||||
|
||||
if (!param(cmd, buffer, params,
|
||||
p_req_tal("id", json_tok_tok, (const jsmntok_t **) &idtok),
|
||||
p_opt_tal("host", json_tok_tok, &hosttok),
|
||||
p_opt_tal("port", json_tok_number, &port),
|
||||
p_req("id", json_tok_tok, (const jsmntok_t **) &idtok),
|
||||
p_opt("host", json_tok_tok, &hosttok),
|
||||
p_opt("port", json_tok_number, &port),
|
||||
NULL))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user