summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-13 18:29:16 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-13 18:29:16 +0000
commit05cf945a1c540806fd7e3be14a52d6c4c01215ea (patch)
treefb3c2bdf093d355eb7898b5e6511edc6a6ed0123 /src/or/dirserv.c
parent0cf38ddef6af877a056a9c181fe2fd76d5c81ec5 (diff)
downloadtor-05cf945a1c540806fd7e3be14a52d6c4c01215ea.tar.gz
tor-05cf945a1c540806fd7e3be14a52d6c4c01215ea.zip
r13393@catbus: nickm | 2007-06-13 14:29:14 -0400
More vote unit tests: check that we are parsing routerstatuses correctly. svn:r10588
Diffstat (limited to 'src/or/dirserv.c')
-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 b4fe5d49d2..01b6db731b 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1649,8 +1649,8 @@ routerstatus_format_entry(char *buf, size_t buf_len,
rs->is_named?" Named":"",
rs->is_stable?" Stable":"",
rs->is_running?" Running":"",
- rs->is_valid?" Valid":"",
- rs->is_v2_dir?" V2Dir":"");
+ rs->is_v2_dir?" V2Dir":"",
+ rs->is_valid?" Valid":"");
if (r<0) {
log_warn(LD_BUG, "Not enough space in buffer.");
return -1;