]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Better comment for dirserv_query_measured_bw_cache()
authorAndrea Shepard <andrea@torproject.org>
Thu, 7 Mar 2013 23:59:30 +0000 (15:59 -0800)
committerAndrea Shepard <andrea@torproject.org>
Thu, 7 Mar 2013 23:59:30 +0000 (15:59 -0800)
src/or/dirserv.c

index b6ff6f69411d022b4f79021175d0f9c2f878c7b6..37934a0327f7754d661f9595a0cdfd1b6c81cd65 100644 (file)
@@ -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)