[fedfs-utils] [PATCH 4/8] libnsdb: Fix a few comments
Chuck Lever
chuck.lever at oracle.com
Wed Nov 13 13:54:07 PST 2013
Signed-off-by: Chuck Lever <chuck.lever at oracle.com>
---
src/libnsdb/nsdb-internal.h | 2 +-
src/libnsdb/nsdb.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libnsdb/nsdb-internal.h b/src/libnsdb/nsdb-internal.h
index 795fa96..a152524 100644
--- a/src/libnsdb/nsdb-internal.h
+++ b/src/libnsdb/nsdb-internal.h
@@ -1,6 +1,6 @@
/*
* @file src/libnsdb/nsdb-internal.h
- * @brief Common public declarations for the NSDB API
+ * @brief Private declarations for the NSDB API
*/
/*
diff --git a/src/libnsdb/nsdb.c b/src/libnsdb/nsdb.c
index e6c13c4..090647a 100644
--- a/src/libnsdb/nsdb.c
+++ b/src/libnsdb/nsdb.c
@@ -334,7 +334,7 @@ const char *nsdb_hostname(const nsdb_t host)
* Return length of nsdb_t's hostname, in bytes
*
* @param host pointer to initialized nsdb_t
- * @return NUL-terminated C string containing NSDB's hostname
+ * @return the number of bytes in "host's" hostname, excluding the terminating NUL
*/
size_t nsdb_hostname_len(const nsdb_t host)
{
@@ -356,7 +356,7 @@ unsigned short nsdb_port(const nsdb_t host)
* Return nsdb_t's NSDB connection security type
*
* @param host pointer to initialized nsdb_t struct
- * @return NSDB's port number
+ * @return NSDB's connection security type
*/
FedFsConnectionSec nsdb_sectype(const nsdb_t host)
{
More information about the fedfs-utils-devel
mailing list