diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:14:58 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:14:58 +0100 |
| commit | 196b364aaee197fa24bb9ef3363b6447df74bb02 (patch) | |
| tree | 904b2660a4df082c020a67bb758e865aa8c533ca /communication.c | |
| parent | m misc (diff) | |
| download | coopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.gz coopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.bz2 coopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | communication.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/communication.c b/communication.c index 13d5046..75a6429 100644 --- a/communication.c +++ b/communication.c @@ -14,7 +14,7 @@ * @param conn The index of the connection * @param buf The data to send * @param n The size of `buf` - * @return Zero on success, -1 on error, 1 if disconncted + * @return Zero on success, -1 on error, 1 if disconnected * EINTR, EAGAIN, EWOULDBLOCK, and ECONNRESET count * as success (ECONNRESET cause 1 to be returned), * and are handled appropriately. @@ -110,7 +110,7 @@ proper_fail: * @param message_id The ID of the message to which this message is a response * @param desc The error description to send * @return 1: Client disconnected - * 0: Success (possibily delayed) + * 0: Success (possibly delayed) * -1: An error occurred */ int @@ -139,7 +139,7 @@ int * @param message_id The ID of the message to which this message is a response * @param number The value of `errno`, 0 to indicate success * @return 1: Client disconnected - * 0: Success (possibily delayed) + * 0: Success (possibly delayed) * -1: An error occurred */ int |
