aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/worker.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-14 19:26:45 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-14 19:26:45 +0200
commit6ac3199bef203fc28a39724010b79b561ee4e304 (patch)
treeb73cd0501586f82e9518cc2b2b688abcaebe8182 /src/worker.c
parentprocess: add process_output_dump (diff)
downloadcimple-6ac3199bef203fc28a39724010b79b561ee4e304.tar.gz
cimple-6ac3199bef203fc28a39724010b79b561ee4e304.zip
command: adjust order of parameters to handlers
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker.c b/src/worker.c
index b792ac7..2a258e5 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -99,8 +99,8 @@ static int msg_ci_run_do(const char *url, const char *rev, struct proc_output *r
return 0;
}
-static int msg_ci_run_handler(UNUSED int conn_fd, const struct msg *request, UNUSED void *_worker,
- struct msg **response)
+static int msg_ci_run_handler(UNUSED int conn_fd, const struct msg *request, struct msg **response,
+ UNUSED void *_worker)
{
struct proc_output result;
int ret = 0;