aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-18 16:47:24 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-18 16:47:24 +0200
commitf48469bcb5ba944937088edafe7ea90cf7109f5b (patch)
tree3df6b679bbc32c6323bed2dc7a252a2229a7904d /src/mds-registry
parenttypo (diff)
downloadmds-f48469bcb5ba944937088edafe7ea90cf7109f5b.tar.gz
mds-f48469bcb5ba944937088edafe7ea90cf7109f5b.tar.bz2
mds-f48469bcb5ba944937088edafe7ea90cf7109f5b.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-registry')
-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);