[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix bug3183
commit ce3b553926ab13a59963890db93aa9d33b830f95
Author: George Kadianakis <desnacked@xxxxxxxxx>
Date: Sun May 15 03:13:52 2011 +0200
Fix bug3183
---
src/or/status.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/or/status.c b/src/or/status.c
index 3a51c8b..34a27b2 100644
--- a/src/or/status.c
+++ b/src/or/status.c
@@ -85,10 +85,9 @@ log_heartbeat(time_t now)
const node_t *myself;
or_options_t *options = get_options();
- int is_server = server_mode(options);
(void)now;
- if (is_server) {
+ if (public_server_mode(options)) {
/* Let's check if we are in the current cached consensus. */
if (!(me = router_get_my_routerinfo()))
return -1; /* Something stinks, we won't even attempt this. */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits