| 431 | } |
| 432 | |
| 433 | struct command_result *forward_error(struct command *cmd, |
| 434 | const char *buf, |
| 435 | const jsmntok_t *error, |
| 436 | void *arg UNNEEDED) |
| 437 | { |
| 438 | /* Push through any errors. */ |
| 439 | return command_done_raw(cmd, "error", |
| 440 | buf + error->start, error->end - error->start); |
| 441 | } |
| 442 | |
| 443 | struct command_result *forward_result(struct command *cmd, |
| 444 | const char *buf, |
no test coverage detected