summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-30 17:46:12 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-30 17:46:12 +0000
commit23a345b3c2e7877d3cc4821ec1764f885fa01b2f (patch)
tree1a12c101ea5f44ed7712aeb6f148186eef23850e /src/common/container.c
parentec1d599302891047d2bd2f722085e187661610f6 (diff)
downloadtor-23a345b3c2e7877d3cc4821ec1764f885fa01b2f.tar.gz
tor-23a345b3c2e7877d3cc4821ec1764f885fa01b2f.zip
r14015@catbus: nickm | 2007-07-30 13:18:05 -0400
Add missing code documentation in src/common svn:r10991
Diffstat (limited to 'src/common/container.c')
-rw-r--r--src/common/container.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c
index 4cac686147..c31a4d2713 100644
--- a/src/common/container.c
+++ b/src/common/container.c
@@ -196,7 +196,8 @@ smartlist_string_isin(const smartlist_t *sl, const char *element)
return 0;
}
-/** DOCDOC */
+/** If <b>element</b> is equal to an element of <b>sl</b>, return that
+ * element's index. Otherwise, return -1. */
int
smartlist_string_pos(const smartlist_t *sl, const char *element)
{