aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-26 23:40:09 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-26 23:40:09 +0200
commit9162e5eb60143f42e7d127e58b8058042e44e984 (patch)
treef03fd9301f0dca6ebd03f2fbf39f1928f9eeed3c
parenttake care of realloc failures (diff)
downloadmds-9162e5eb60143f42e7d127e58b8058042e44e984.tar.gz
mds-9162e5eb60143f42e7d127e58b8058042e44e984.tar.bz2
mds-9162e5eb60143f42e7d127e58b8058042e44e984.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/libmdsserver/fd-table.c2
-rw-r--r--src/libmdsserver/fd-table.h2
-rw-r--r--src/libmdsserver/hash-table.c2
-rw-r--r--src/libmdsserver/hash-table.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/libmdsserver/fd-table.c b/src/libmdsserver/fd-table.c
index 64f0b99..58d37ef 100644
--- a/src/libmdsserver/fd-table.c
+++ b/src/libmdsserver/fd-table.c
@@ -285,7 +285,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data)
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
* @return Non-zero one error, errno will be set accordingly.
- * Destroy the list on error.
+ * Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper)
{
diff --git a/src/libmdsserver/fd-table.h b/src/libmdsserver/fd-table.h
index 79bd2dc..afba699 100644
--- a/src/libmdsserver/fd-table.h
+++ b/src/libmdsserver/fd-table.h
@@ -168,7 +168,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data);
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
* @return Non-zero one error, errno will be set accordingly.
- * Destroy the list on error.
+ * Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper);
diff --git a/src/libmdsserver/hash-table.c b/src/libmdsserver/hash-table.c
index 615f7f7..b8149f5 100644
--- a/src/libmdsserver/hash-table.c
+++ b/src/libmdsserver/hash-table.c
@@ -435,7 +435,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data)
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
* @return Non-zero one error, errno will be set accordingly.
- * Destroy the list on error.
+ * Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper)
{
diff --git a/src/libmdsserver/hash-table.h b/src/libmdsserver/hash-table.h
index 636d037..9f6973c 100644
--- a/src/libmdsserver/hash-table.h
+++ b/src/libmdsserver/hash-table.h
@@ -230,7 +230,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data);
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
* @return Non-zero one error, errno will be set accordingly.
- * Destroy the list on error.
+ * Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper);