From 76e043e95579fd06a405d5fc73dd5983cca90f88 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 12 Nov 2023 00:41:15 +0100 Subject: refactoring --- src/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.c') 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; } -- cgit v1.2.3