aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-11-12 00:41:15 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-11-12 00:41:15 +0100
commit76e043e95579fd06a405d5fc73dd5983cca90f88 (patch)
treea62d9c28c44f8816544b631efc1fc7e302ffdf05 /src/client.c
parentci.sh: fix docker-compose argument order (diff)
downloadcimple-76e043e95579fd06a405d5fc73dd5983cca90f88.tar.gz
cimple-76e043e95579fd06a405d5fc73dd5983cca90f88.zip
refactoring
Diffstat (limited to '')
-rw-r--r--src/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c
index 8c6c597..eda4374 100644
--- a/src/client.c
+++ b/src/client.c
@@ -48,7 +48,7 @@ static int make_request(struct jsonrpc_request **request, int argc, const char *
return -1;
}
- if (!strcmp(argv[0], CMD_RUN)) {
+ if (!strcmp(argv[0], CMD_QUEUE_RUN)) {
if (argc != 3)
return -1;
@@ -57,7 +57,7 @@ static int make_request(struct jsonrpc_request **request, int argc, const char *
if (ret < 0)
return ret;
- ret = run_request_create(request, run);
+ ret = request_create_queue_run(request, run);
run_destroy(run);
return ret;
}