aboutsummaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
commit0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch)
treeef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/hash.c
parentd5cc77b7449316b6c8374968594f718df567ef7a (diff)
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 3a3a58e90..6c921e442 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -140,7 +140,10 @@ mk_hash_element(const void *key, size_t key_len, const void *p)
#define FETCH_LIST(x,y,z) x->table[x->hash_func(y, z, x->slots)]
/* Insert the data in the hash. If there already was a match in the hash,
- that data is replaced. */
+ * that data is replaced.
+ *
+ * @unittest: 1305
+ */
void *
Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p)
{