[tor-commits] [tor/master] Remove a since-fixed XXX; improve a doxygen comment

nickm at torproject.org nickm at torproject.org
Thu Nov 15 19:47:53 UTC 2012


commit 54ee7ff148dac13644d64e6df02a11efd1b31c08
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Nov 6 12:12:47 2012 -0500

    Remove a since-fixed XXX; improve a doxygen comment
---
 src/or/dirvote.c |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 9810c82..8363493 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -3534,12 +3534,8 @@ dirvote_get_vote(const char *fp, int flags)
   return NULL;
 }
 
-/** Construct and return a new microdescriptor from a routerinfo <b>ri</b>.
- *
- * XXX Right now, there is only one way to generate microdescriptors from
- * router descriptors.  This may change in future consensus methods.  If so,
- * we'll need an internal way to remember which method we used, and ask for a
- * particular method.
+/** Construct and return a new microdescriptor from a routerinfo <b>ri</b>
+ * according to <b>consensus_method</b>.
  **/
 microdesc_t *
 dirvote_create_microdescriptor(const routerinfo_t *ri, int consensus_method)





More information about the tor-commits mailing list