aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <dev@zapb.de>2020-11-25 16:26:38 +0100
committerMarc Schink <dev@zapb.de>2021-01-19 11:59:17 +0100
commitfbd360cccb715f21fba2e911cb67b785630edd21 (patch)
treeb708cf6188de317642243770195fc8b8679941a5
parent91e282fadcc78fb587ba3a68e113e87329184336 (diff)
downloadlibjaylink-fbd360cccb715f21fba2e911cb67b785630edd21.zip
libjaylink-fbd360cccb715f21fba2e911cb67b785630edd21.tar.gz
libjaylink-fbd360cccb715f21fba2e911cb67b785630edd21.tar.bz2
socket: Minor documentation cleanup
Signed-off-by: Marc Schink <dev@zapb.de>
-rw-r--r--libjaylink/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjaylink/socket.c b/libjaylink/socket.c
index cb0a5cd..6a9fdd7 100644
--- a/libjaylink/socket.c
+++ b/libjaylink/socket.c
@@ -326,7 +326,7 @@ JAYLINK_PRIV bool socket_get_option(int sock, int level, int option,
}
/**
- * Set an option on a socket.
+ * Set the value of a socket option.
*
* @param[in] sock Socket descriptor.
* @param[in] level Level at which the option is defined.
@@ -334,7 +334,7 @@ JAYLINK_PRIV bool socket_get_option(int sock, int level, int option,
* @param[in] value Buffer of the value to be set.
* @param[in] length Length of the value buffer in bytes.
*
- * @return Whether the option was set successfully.
+ * @return Whether the option value was set successfully.
*/
JAYLINK_PRIV bool socket_set_option(int sock, int level, int option,
const void *value, size_t length)