diff options
| -rw-r--r-- | DEPENDENCIES | 2 | ||||
| -rw-r--r-- | common.h | 6 | ||||
| -rw-r--r-- | libcoopgamma_check_error__.c | 4 | ||||
| -rw-r--r-- | libcoopgamma_get_socket_file.c | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES index 420c60b..d27153a 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -3,7 +3,6 @@ RUNTIME DEPENDENCIES: libc coopgammad - BUILD DEPENDENCIES: libc @@ -11,7 +10,6 @@ BUILD DEPENDENCIES: make coreutils - INSTALL DEPENDENCIES: make @@ -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); diff --git a/libcoopgamma_check_error__.c b/libcoopgamma_check_error__.c index 44fb8b7..766e674 100644 --- a/libcoopgamma_check_error__.c +++ b/libcoopgamma_check_error__.c @@ -5,7 +5,7 @@ /** * 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 * @@ -13,7 +13,7 @@ * @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` */ int libcoopgamma_check_error__(libcoopgamma_context_t *restrict ctx, libcoopgamma_async_context_t *restrict async) diff --git a/libcoopgamma_get_socket_file.c b/libcoopgamma_get_socket_file.c index 3ac9a2b..8c9d72a 100644 --- a/libcoopgamma_get_socket_file.c +++ b/libcoopgamma_get_socket_file.c @@ -10,7 +10,7 @@ * @param method The adjustment method, `NULL` for automatic * @param site The site, `NULL` for automatic * @return The pathname of the server's socket, `NULL` on error - * or if there server does have its own socket. The later + * or if the server does not have its own socket. The latter * case is detected by checking that `errno` is set to 0, * and is the case when communicating with a server in a * multi-server display server like mds. |
