diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 20:24:41 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-28 20:29:03 +0200 |
commit | 1c42eca6cdae99804b7020d89ae220308e4daff5 (patch) | |
tree | 62dc276ed87bf49dd186a6a3fdaff50f37d84700 /src/msg.h | |
parent | fix Alpine builds (diff) | |
download | cimple-1c42eca6cdae99804b7020d89ae220308e4daff5.tar.gz cimple-1c42eca6cdae99804b7020d89ae220308e4daff5.zip |
make proper "error" messages
Previously, the client had no way to distinguish errors from succesful
calls.
Diffstat (limited to '')
-rw-r--r-- | src/msg.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ struct msg { char **argv; }; -void msg_success(struct msg *); -void msg_error(struct msg *); +int msg_success(struct msg *); +int msg_error(struct msg *); int msg_is_success(const struct msg *); int msg_is_error(const struct msg *); |