aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client_main.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 08:59:43 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 11:37:46 +0200
commitf471fbdf27462b82febe4e8db8358ab3380d2a28 (patch)
tree6c41abf4e32214cd8bdb0f8a377f93b3c7c0d830 /src/client_main.c
parentci_queue: fix a broken getter (diff)
downloadcimple-f471fbdf27462b82febe4e8db8358ab3380d2a28.tar.gz
cimple-f471fbdf27462b82febe4e8db8358ab3380d2a28.zip
add command module to handle request-response communications
Diffstat (limited to '')
-rw-r--r--src/client_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_main.c b/src/client_main.c
index a895ccf..dd22508 100644
--- a/src/client_main.c
+++ b/src/client_main.c
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
if (ret < 0)
return ret;
- ret = client_main(client, argc - optind, argv + optind);
+ ret = client_main(client, (const char **)argv + optind);
if (ret < 0)
goto destroy_client;