mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-12 09:34:25 +01:00
plugins/libplugin: make headers update-mocks friendly.
In particular, it expects return type at start of line. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -229,8 +229,8 @@ static struct command_result *command_complete(struct command *cmd,
|
||||
return &complete;
|
||||
}
|
||||
|
||||
struct command_result *WARN_UNUSED_RESULT
|
||||
command_finished(struct command *cmd, struct json_stream *response)
|
||||
struct command_result *command_finished(struct command *cmd,
|
||||
struct json_stream *response)
|
||||
{
|
||||
/* "result" or "error" object */
|
||||
json_object_end(response);
|
||||
|
||||
Reference in New Issue
Block a user