diff options
author | Egor Tensin <egor@tensin.name> | 2024-12-26 12:08:58 +0100 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2024-12-26 12:08:58 +0100 |
commit | 9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5 (patch) | |
tree | b5a1c96518c96974e53a70e02d4e684efc198bed /src/protocol.c | |
parent | update DEVELOPMENT.md (diff) | |
download | cimple-9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5.tar.gz cimple-9f40d20e1c97e2c85e26a6a13ccf04e60d9f83f5.zip |
Diffstat (limited to 'src/protocol.c')
-rw-r--r-- | src/protocol.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/protocol.c b/src/protocol.c index d950004..0fa06f1 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -120,7 +120,7 @@ static const char *const finished_key_ec = "exit_code"; static const char *const finished_key_data = "output"; int request_create_finished_run(struct jsonrpc_request **request, int run_id, - const struct proc_output *output) + const struct process_output *output) { int ret = 0; @@ -153,12 +153,12 @@ free_request: } int request_parse_finished_run(const struct jsonrpc_request *request, int *_run_id, - struct proc_output **_output) + struct process_output **_output) { int ret = 0; - struct proc_output *output = NULL; - ret = proc_output_create(&output); + struct process_output *output = NULL; + ret = process_output_create(&output); if (ret < 0) return ret; @@ -187,7 +187,7 @@ int request_parse_finished_run(const struct jsonrpc_request *request, int *_run_ return ret; free_output: - proc_output_destroy(output); + process_output_destroy(output); return ret; } |