Преглед на файлове

Better comment for dirserv_query_measured_bw_cache()

Andrea Shepard преди 12 години
родител
ревизия
8027ebb5fd
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/or/dirserv.c

+ 2 - 1
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)