aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/fmt_serverstatus.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-05-02 17:48:09 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-05-02 17:48:09 +0300
commit4d461e20f766ab6fe0979229e0281e31fc9491e7 (patch)
tree6ff7316e1dfb95f9e23fa6c37fdb878b539f5ad1 /src/feature/control/fmt_serverstatus.c
parent721e65a1d5a5821149fc0c10e6c82398d953baf4 (diff)
parentee36bfa6de95bf3d2214961d07edb001eb1ca150 (diff)
downloadtor-4d461e20f766ab6fe0979229e0281e31fc9491e7.tar.gz
tor-4d461e20f766ab6fe0979229e0281e31fc9491e7.zip
Merge branch 'tor-github/pr/999'
Diffstat (limited to 'src/feature/control/fmt_serverstatus.c')
-rw-r--r--src/feature/control/fmt_serverstatus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/feature/control/fmt_serverstatus.c b/src/feature/control/fmt_serverstatus.c
index d224a1d234..a80bf50ad9 100644
--- a/src/feature/control/fmt_serverstatus.c
+++ b/src/feature/control/fmt_serverstatus.c
@@ -76,7 +76,6 @@ list_server_status_v1(smartlist_t *routers, char **router_status_out,
SMARTLIST_FOREACH_BEGIN(routers, routerinfo_t *, ri) {
const node_t *node = node_get_by_id(ri->cache_info.identity_digest);
tor_assert(node);
-
if (for_controller) {
char name_buf[MAX_VERBOSE_NICKNAME_LEN+2];
char *cp = name_buf;