Browse Source
All other users of json_get_params(...) check the return value: ``` lightningd/chaintopology.c: if (!json_get_params(buffer, params, lightningd/chaintopology.c: if (!json_get_params(buffer, params, lightningd/dev_ping.c: if (!json_get_params(buffer, params, lightningd/gossip_control.c: if (!json_get_params(buffer, params, lightningd/invoice.c: if (!json_get_params(buffer, params, lightningd/invoice.c: if (!json_get_params(buffer, params, lightningd/invoice.c: if (!json_get_params(buffer, params, lightningd/invoice.c: if (!json_get_params(buffer, params, lightningd/invoice.c: if (!json_get_params(buffer, params, "label", &labeltok, NULL)) { lightningd/invoice.c: if (!json_get_params(buffer, params, lightningd/jsonrpc.c: if (!json_get_params(buffer, params, lightningd/pay.c: if (!json_get_params(buffer, params, lightningd/pay.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, lightningd/peer_control.c: if (!json_get_params(buffer, params, wallet/walletrpc.c: if (!json_get_params(buffer, params, wallet/walletrpc.c: if (!json_get_params(buffer, params, "tx", &txtok, NULL)) { ```ppa-0.6.1
practicalswift
7 years ago
committed by
Rusty Russell
2 changed files with 8 additions and 2 deletions
Loading…
Reference in new issue