From f471fbdf27462b82febe4e8db8358ab3380d2a28 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 May 2023 08:59:43 +0200 Subject: add command module to handle request-response communications --- src/client_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client_main.c') 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; -- cgit v1.2.3