summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-15 16:06:00 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-18 18:46:12 -0400
commit200c39b66cc6e157e78a67481b85e237ccffbef3 (patch)
treeabcc718d5da4eefe603ae3630f67164e0be19a0c /src/or/networkstatus.c
parentd61b5df9c1bed57cb39888a1f256cf6c234c29eb (diff)
downloadtor-200c39b66cc6e157e78a67481b85e237ccffbef3.tar.gz
tor-200c39b66cc6e157e78a67481b85e237ccffbef3.zip
Document the microdescriptor code better.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 37838f4b08..e9e8663062 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2082,7 +2082,8 @@ networkstatus_get_flavor_name(consensus_flavor_t flav)
}
}
-/** DOCDOC return -1 on unknown */
+/** Return the consensus_flavor_t value for the flavor called <b>flavname</b>,
+ * or -1 if the flavor is not recongized. */
int
networkstatus_parse_flavor_name(const char *flavname)
{