[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.4] Better comment for dirserv_query_measured_bw_cache()



commit 8027ebb5fdf43b5aa63e498c1f8e3c6b2c87bbb7
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits