diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-23 23:01:32 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-23 23:01:32 +0200 |
commit | b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a (patch) | |
tree | 12dcf8395e8083aebde80b262e154116febfb366 /src/client.c | |
parent | remove redundant code (diff) | |
download | cimple-b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a.tar.gz cimple-b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a.zip |
cmd -> msg
This I feel better conveys the meaning.
Diffstat (limited to '')
-rw-r--r-- | src/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <unistd.h> @@ -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; |