aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-14 22:34:57 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-14 22:34:57 +0000
commitce83f4362934bbe87341a88d55ff0a1e80014cd5 (patch)
tree2b01795f033c9aefcac653feb0d898110a95de5d
parent9d0fbfd5300a6e59c4e40dad588e6276fc898c0f (diff)
downloadtor-ce83f4362934bbe87341a88d55ff0a1e80014cd5.tar
tor-ce83f4362934bbe87341a88d55ff0a1e80014cd5.tar.gz
r8817@Kushana: nickm | 2006-09-14 18:31:29 -0400
Patch from steve hildrey: Generate network status correctly on non-versioning dirservers svn:r8395
-rw-r--r--src/or/dirserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index b87f78ca5..b159afed9 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1404,9 +1404,9 @@ generate_v2_networkstatus(void)
naming ? " Names" : "",
versioning ? " Versions" : "",
versioning ? "client-versions " : "",
- client_versions,
+ versioning ? client_versions : "",
versioning ? "\nserver-versions " : "",
- server_versions,
+ versioning ? server_versions : "",
versioning ? "\n" : "",
identity_pkey);
outp = status + strlen(status);