aboutsummaryrefslogtreecommitdiffstats
path: root/communication.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
commit196b364aaee197fa24bb9ef3363b6447df74bb02 (patch)
tree904b2660a4df082c020a67bb758e865aa8c533ca /communication.c
parentm misc (diff)
downloadcoopgammad-1.3.3.tar.gz
coopgammad-1.3.3.tar.bz2
coopgammad-1.3.3.tar.xz
fix doc textHEAD1.3.3master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--communication.c6
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