| 494 | } |
| 495 | |
| 496 | struct command_result *command_still_pending(struct command *cmd) |
| 497 | { |
| 498 | notleak_with_children(cmd); |
| 499 | cmd->pending = true; |
| 500 | |
| 501 | /* If we've started writing, wake reader. */ |
| 502 | if (cmd->json_stream) |
| 503 | json_stream_flush(cmd->json_stream); |
| 504 | |
| 505 | return &pending; |
| 506 | } |
| 507 | |
| 508 | static void json_command_malformed(struct json_connection *jcon, |
| 509 | const char *id, |
no test coverage detected