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

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



commit 95163ec072d4af00ad0c043fce3e8bccf5f5908b
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
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;
   }

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