summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-03-15 05:06:56 +0000
committerNick Mathewson <nickm@torproject.org>2006-03-15 05:06:56 +0000
commitfb7b5545ce8a964e526b6f07806c53c76b5e0191 (patch)
tree3b8ee169c7c7ab96d5136067bb46c26824336b11 /src/or/dirserv.c
parentd0f24b1e46eff11a6f8f4a9373410d05ad6418dd (diff)
downloadtor-fb7b5545ce8a964e526b6f07806c53c76b5e0191.tar.gz
tor-fb7b5545ce8a964e526b6f07806c53c76b5e0191.zip
Implement GETINFO(dir/server/foo); status will be harder.
svn:r6165
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 90bf2cde09..a78bfca7d7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1555,6 +1555,9 @@ dirserv_get_networkstatus_v2(smartlist_t *result,
* recognize the key (URL).
* If -1 is returned *<b>msg</b> will be set to an appropriate error
* message.
+ *
+ * (Despite its name, this function is also called from the controller, which
+ * exposes a similar means to fetch descriptors.)
*/
int
dirserv_get_routerdescs(smartlist_t *descs_out, const char *key,