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/worker.c | |
parent | sqlite: fix error handling (diff) | |
download | cimple-d2e0563af39a474b8e0e5d658f04f3b306641ae9.tar.gz cimple-d2e0563af39a474b8e0e5d658f04f3b306641ae9.zip |
rename commands
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/worker.c b/src/worker.c index 6a18574..7487e62 100644 --- a/src/worker.c +++ b/src/worker.c @@ -49,9 +49,9 @@ void worker_destroy(struct worker *worker) libgit_shutdown(); } -static int msg_send_worker_new(const struct worker *worker) +static int msg_send_new_worker(const struct worker *worker) { - static char *argv[] = {CMD_WORKER_NEW, NULL}; + static char *argv[] = {CMD_NEW_WORKER, NULL}; struct msg msg; int ret = 0; @@ -161,7 +161,7 @@ int worker_main(struct worker *worker, UNUSED int argc, UNUSED char *argv[]) { int ret = 0; - ret = msg_send_worker_new(worker); + ret = msg_send_new_worker(worker); if (ret < 0) return ret; |