diff mbox

[4/8] libnsdb: Fix a few comments

Message ID 20131113215407.23593.59402.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

Chuck Lever Nov. 13, 2013, 9:54 p.m. UTC
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 src/libnsdb/nsdb-internal.h |    2 +-
 src/libnsdb/nsdb.c          |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

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)
 {