From b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 23 Aug 2022 23:01:32 +0200 Subject: cmd -> msg This I feel better conveys the meaning. --- src/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client.c') diff --git a/src/client.c b/src/client.c index 644cb13..0391784 100644 --- a/src/client.c +++ b/src/client.c @@ -1,5 +1,5 @@ #include "client.h" -#include "cmd.h" +#include "msg.h" #include "net.h" #include @@ -21,9 +21,9 @@ void client_destroy(const struct client *client) int client_main(const struct client *client, int argc, char *argv[]) { int result, ret = 0; - struct cmd cmd = {argc, argv}; + struct msg msg = {argc, argv}; - ret = cmd_send_and_wait_for_result(client->fd, &cmd, &result); + ret = msg_send_and_wait_for_result(client->fd, &msg, &result); if (ret < 0) return ret; -- cgit v1.2.3