summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:52:52 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-03-14 16:52:52 (GMT)
commit9cfc4f8af36ccdcbadf9a5b09135e13bdddea754 (patch)
tree2325479538dbda47816b0980ad2c40738f1b5eec /src/H5O.c
parentac3b230f0b84124e37cea1fb7f5942e8c27970d3 (diff)
downloadhdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.zip
hdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.tar.gz
hdf5-9cfc4f8af36ccdcbadf9a5b09135e13bdddea754.tar.bz2
[svn-r20241] Corrected an error in the comments for H5Oget_comment(_by_name) and H5G_loc_get_comment_cb: the return
value is the size of the comment excluding NULL terminator. No test is needed.
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 02778de..eb90a70 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -822,7 +822,7 @@ done:
*
* Purpose: Retrieve comment for an object.
*
- * Return: Success: Number of bytes in the comment including the
+ * Return: Success: Number of bytes in the comment excluding the
* null terminator. Zero if the object has no
* comment.
*
@@ -860,7 +860,7 @@ done:
*
* Purpose: Retrieve comment for an object.
*
- * Return: Success: Number of bytes in the comment including the
+ * Return: Success: Number of bytes in the comment excluding the
* null terminator. Zero if the object has no
* comment.
*