From 1c42eca6cdae99804b7020d89ae220308e4daff5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 28 Aug 2022 20:24:41 +0200 Subject: make proper "error" messages Previously, the client had no way to distinguish errors from succesful calls. --- src/msg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/msg.h') diff --git a/src/msg.h b/src/msg.h index e60f2ce..f6b85e6 100644 --- a/src/msg.h +++ b/src/msg.h @@ -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 *); -- cgit v1.2.3