[tor-commits] [tor/release-0.2.4] Better comment for dirserv_query_measured_bw_cache()
arma at torproject.org
arma at torproject.org
Thu Apr 11 05:29:50 UTC 2013
commit 8027ebb5fdf43b5aa63e498c1f8e3c6b2c87bbb7
Author: Andrea Shepard <andrea at torproject.org>
Date: Thu Mar 7 15:59:30 2013 -0800
Better comment for dirserv_query_measured_bw_cache()
---
src/or/dirserv.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index b6ff6f6..37934a0 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)
More information about the tor-commits
mailing list