diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-05-15 03:13:52 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-05-15 03:13:52 +0200 |
commit | ce3b553926ab13a59963890db93aa9d33b830f95 (patch) | |
tree | 19ee7b9358d9079337d520dbb412bb0051c780cf /src/or/status.c | |
parent | c2d9d80a072ab586ba97159f1d401b9ed2980b2d (diff) | |
download | tor-ce3b553926ab13a59963890db93aa9d33b830f95.tar.gz tor-ce3b553926ab13a59963890db93aa9d33b830f95.zip |
Fix bug3183
Diffstat (limited to 'src/or/status.c')
-rw-r--r-- | 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 3a51c8b0a7..34a27b2edd 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. */ |