| 441 | } |
| 442 | |
| 443 | struct command_result *forward_result(struct command *cmd, |
| 444 | const char *buf, |
| 445 | const jsmntok_t *result, |
| 446 | void *arg UNNEEDED) |
| 447 | { |
| 448 | /* Push through the result. */ |
| 449 | return command_done_raw(cmd, "result", |
| 450 | buf + result->start, result->end - result->start); |
| 451 | } |
| 452 | |
| 453 | /* Called by param() directly if it's malformed. */ |
| 454 | struct command_result *command_fail(struct command *cmd, |
no test coverage detected