diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-27 05:58:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-27 05:58:20 +0200 |
commit | d2e0563af39a474b8e0e5d658f04f3b306641ae9 (patch) | |
tree | 2f57c2975f56a4ec27cb420b7796368f88a7a79c /src/server.c | |
parent | sqlite: fix error handling (diff) | |
download | cimple-d2e0563af39a474b8e0e5d658f04f3b306641ae9.tar.gz cimple-d2e0563af39a474b8e0e5d658f04f3b306641ae9.zip |
rename commands
Diffstat (limited to 'src/server.c')
-rw-r--r-- | src/server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.c b/src/server.c index 152581b..3d57f60 100644 --- a/src/server.c +++ b/src/server.c @@ -209,13 +209,13 @@ static int worker_thread(struct server *server, int fd) return ret; } -static int msg_worker_new_handler(struct server *server, int client_fd, +static int msg_new_worker_handler(struct server *server, int client_fd, UNUSED const struct msg *request) { return worker_thread(server, client_fd); } -static int msg_worker_new_parser(UNUSED const struct msg *msg) +static int msg_new_worker_parser(UNUSED const struct msg *msg) { return 1; } @@ -290,7 +290,7 @@ struct msg_descr { }; struct msg_descr messages[] = { - {CMD_WORKER_NEW, msg_worker_new_parser, msg_worker_new_handler}, + {CMD_NEW_WORKER, msg_new_worker_parser, msg_new_worker_handler}, {CMD_CI_RUN, msg_ci_run_parser, msg_ci_run_handler}, }; |