aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/worker.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:24:36 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:24:40 +0200
commit046e353e128372f846c432a90ca9401506d37d5b (patch)
treeec4f318fac89c2144211e58181b51f53d4cc3e55 /src/worker.c
parentcmake: document _GNU_SOURCE usage (diff)
downloadcimple-046e353e128372f846c432a90ca9401506d37d5b.tar.gz
cimple-046e353e128372f846c432a90ca9401506d37d5b.zip
ci_queue -> run_queue
Also, some minor refactoring.
Diffstat (limited to '')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 3cbe626..755ff35 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -129,7 +129,7 @@ static int msg_ci_run_handler(UNUSED int conn_fd, const struct msg *request, UNU
}
static struct cmd_desc cmds[] = {
- {CMD_CI_RUN, msg_ci_run_handler},
+ {CMD_RUN, msg_ci_run_handler},
};
int worker_main(struct worker *worker, UNUSED int argc, UNUSED char *argv[])