aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-registry/util.c2
-rw-r--r--src/mds-registry/util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mds-registry/util.c b/src/mds-registry/util.c
index 51937b7..551904a 100644
--- a/src/mds-registry/util.c
+++ b/src/mds-registry/util.c
@@ -62,7 +62,7 @@ void reg_table_free_value(size_t obj)
*
* @param message The message to send
* @param length The length of the message
- * @return Non-zero on success
+ * @return Zero on success, -1 on error
*/
int full_send(const char* message, size_t length)
{
diff --git a/src/mds-registry/util.h b/src/mds-registry/util.h
index 365a276..ea0d492 100644
--- a/src/mds-registry/util.h
+++ b/src/mds-registry/util.h
@@ -41,7 +41,7 @@ void reg_table_free_value(size_t obj);
*
* @param message The message to send
* @param length The length of the message
- * @return Non-zero on success
+ * @return Zero on success, -1 on error
*/
int full_send(const char* message, size_t length);