| 619 | } |
| 620 | |
| 621 | struct command_result *command_still_pending(struct command *cmd) |
| 622 | { |
| 623 | notleak_with_children(cmd); |
| 624 | cmd->pending = true; |
| 625 | |
| 626 | /* If we've started writing, wake reader. */ |
| 627 | if (cmd->json_stream) |
| 628 | json_stream_flush(cmd->json_stream); |
| 629 | |
| 630 | return &pending; |
| 631 | } |
| 632 | |
| 633 | static void json_command_malformed(struct json_connection *jcon, |
| 634 | const char *id, |
no test coverage detected