[tor-commits] [tor/master] trivial code cleanup in generate_v2_networkstatus_opinion()

arma at torproject.org arma at torproject.org
Wed Nov 16 23:59:32 UTC 2011


commit 95163ec072d4af00ad0c043fce3e8bccf5f5908b
Author: Roger Dingledine <arma at torproject.org>
Date:   Wed Nov 16 18:59:20 2011 -0500

    trivial code cleanup in generate_v2_networkstatus_opinion()
---
 src/or/dirserv.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 58ceeda..e4cbcaa 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2888,7 +2888,7 @@ generate_v2_networkstatus_opinion(void)
     goto done;
   }
 
-  contact = get_options()->ContactInfo;
+  contact = options->ContactInfo;
   if (!contact)
     contact = "(none)";
 
@@ -2971,7 +2971,7 @@ generate_v2_networkstatus_opinion(void)
   });
 
   if (tor_snprintf(outp, endp-outp, "directory-signature %s\n",
-                   get_options()->Nickname)<0) {
+                   options->Nickname)<0) {
     log_warn(LD_BUG, "Unable to write signature line.");
     goto done;
   }



More information about the tor-commits mailing list