From 6ac3199bef203fc28a39724010b79b561ee4e304 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 May 2023 19:26:45 +0200 Subject: command: adjust order of parameters to handlers --- src/worker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/worker.c') 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; -- cgit v1.2.3