summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-03-07 15:59:30 -0800
committerAndrea Shepard <andrea@torproject.org>2013-03-07 15:59:30 -0800
commit8027ebb5fdf43b5aa63e498c1f8e3c6b2c87bbb7 (patch)
tree8af1d05ae3d9f8518fe3023cef3b54e048ad3e10 /src/or
parentb5224348340238f231f81138c09f7f16541d0f1d (diff)
downloadtor-8027ebb5fdf43b5aa63e498c1f8e3c6b2c87bbb7.tar.gz
tor-8027ebb5fdf43b5aa63e498c1f8e3c6b2c87bbb7.zip
Better comment for dirserv_query_measured_bw_cache()
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index b6ff6f6941..37934a0327 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2127,7 +2127,8 @@ dirserv_get_measured_bw_cache_size(void)
}
/** Query the cache by identity digest, return value indicates whether
- * we found it. */
+ * we found it. The bw_out and as_of_out pointers receive the cached
+ * bandwidth value and the time it was cached if not NULL. */
int
dirserv_query_measured_bw_cache(const char *node_id, long *bw_out,
time_t *as_of_out)