aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:07:27 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:07:27 +0100
commit0715832810b5e1d6920b3b8b5071b526ac033283 (patch)
tree130f3e8bfafa2b119128a7f245fdc8735dc0aa8a /common.h
parentFix portability issues (diff)
downloadlibcoopgamma-0715832810b5e1d6920b3b8b5071b526ac033283.tar.gz
libcoopgamma-0715832810b5e1d6920b3b8b5071b526ac033283.tar.bz2
libcoopgamma-0715832810b5e1d6920b3b8b5071b526ac033283.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.h b/common.h
index 2c54f0d..bfdfc86 100644
--- a/common.h
+++ b/common.h
@@ -170,7 +170,7 @@ extern const char *argv0;
* @param format:string-literal Message formatting string
* @param ... Message formatting arguments
*
- * On error, the macro goes to `fail`.
+ * On error, the macro goes to `fail`
*/
#define SEND_MESSAGE(ctx, payload, payload_size, format, ...)\
do {\
@@ -215,7 +215,7 @@ HIDDEN int libcoopgamma_send_message__(libcoopgamma_context_t *restrict ctx, cha
/**
* Check whether the server sent an error, if so copy it to `ctx`
*
- * This function will also reports EBADMSG if the message ID
+ * This function will also report EBADMSG if the message ID
* that the message is a response to does not match the request
* information, or if it is missing
*
@@ -223,7 +223,7 @@ HIDDEN int libcoopgamma_send_message__(libcoopgamma_context_t *restrict ctx, cha
* @param async Information about the request
* @return 1 if the server sent an error (even indicating success),
* 0 on success, -1 on failure. Information about failure
- * is copied `ctx`.
+ * is copied to `ctx`
*/
HIDDEN int libcoopgamma_check_error__(libcoopgamma_context_t *restrict ctx, libcoopgamma_async_context_t *restrict async);