diff options
Diffstat (limited to 'src/mds-registry')
-rw-r--r-- | src/mds-registry/registry.c | 8 | ||||
-rw-r--r-- | src/mds-registry/registry.h | 2 | ||||
-rw-r--r-- | src/mds-registry/slave.c | 4 | ||||
-rw-r--r-- | src/mds-registry/slave.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/mds-registry/registry.c b/src/mds-registry/registry.c index 726d361..23eeafe 100644 --- a/src/mds-registry/registry.c +++ b/src/mds-registry/registry.c @@ -41,7 +41,7 @@ * Handle the received message containing a ‘Client closed’-header * * @return Zero on success -1 on error or interruption, - * errno will be set accordingly + * `errno` will be set accordingly */ static int handle_close_message(void) { @@ -256,7 +256,7 @@ static int registry_action_act(char* command, int action, uint64_t client, hash_ * @param recv_client_id The ID of the client * @param recv_message_id The ID of the received message * @return Zero on success -1 on error or interruption, - * errno will be set accordingly + * `errno` will be set accordingly */ static int registry_action(size_t length, int action, const char* recv_client_id, const char* recv_message_id) { @@ -337,7 +337,7 @@ static int registry_action(size_t length, int action, const char* recv_client_id * @param recv_client_id The ID of the client * @param recv_message_id The ID of the received message * @return Zero on success -1 on error or interruption, - * errno will be set accordingly + * `errno` will be set accordingly */ static int list_registry(const char* recv_client_id, const char* recv_message_id) { @@ -489,7 +489,7 @@ static int handle_register_message(void) * Handle the received message * * @return Zero on success -1 on error or interruption, - * errno will be set accordingly + * `errno` will be set accordingly */ int handle_message(void) { diff --git a/src/mds-registry/registry.h b/src/mds-registry/registry.h index 8d2a276..0de4d6f 100644 --- a/src/mds-registry/registry.h +++ b/src/mds-registry/registry.h @@ -23,7 +23,7 @@ * Handle the received message * * @return Zero on success -1 on error or interruption, - * errno will be set accordingly + * `errno` will be set accordingly */ int handle_message(void); diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c index bda6ca6..3825472 100644 --- a/src/mds-registry/slave.c +++ b/src/mds-registry/slave.c @@ -408,8 +408,8 @@ size_t slave_marshal(const slave_t* restrict this, char* restrict data) * * @param this Memory slot in which to store the new slave information * @param data In buffer with the marshalled data - * @return Zero on error, errno will be set accordingly, otherwise the number of read bytes. - * Destroy the slave information on error. + * @return Zero on error, `errno` will be set accordingly, otherwise the + * number of read bytes. Destroy the slave information on error. */ size_t slave_unmarshal(slave_t* restrict this, char* restrict data) { diff --git a/src/mds-registry/slave.h b/src/mds-registry/slave.h index cb30b94..7e9142d 100644 --- a/src/mds-registry/slave.h +++ b/src/mds-registry/slave.h @@ -163,8 +163,8 @@ size_t slave_marshal(const slave_t* restrict this, char* restrict data); * * @param this Memory slot in which to store the new slave information * @param data In buffer with the marshalled data - * @return Zero on error, errno will be set accordingly, otherwise the number of read bytes. - * Destroy the slave information on error. + * @return Zero on error, `errno` will be set accordingly, otherwise the + * number of read bytes. Destroy the slave information on error. */ size_t slave_unmarshal(slave_t* restrict this, char* restrict data); |