summaryrefslogtreecommitdiff
path: root/src/common/container.c
diff options
context:
space:
mode:
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)
{