summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-21 21:49:03 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-21 21:49:03 +0000
commitadade79f68a1eda3a7b8d3d369afd3e8425484a1 (patch)
treed7400fdfa487c85ed9721416651a8a2d7b661936 /src/or/router.c
parent7c21dabef12cdce4c5b0d09127ccd55d1aecd733 (diff)
downloadtor-adade79f68a1eda3a7b8d3d369afd3e8425484a1.tar.gz
tor-adade79f68a1eda3a7b8d3d369afd3e8425484a1.zip
r8879@Kushana: nickm | 2006-09-21 17:20:31 -0400
Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation. svn:r8444
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 65f34c19c7..1f132607f7 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1149,13 +1149,13 @@ router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
"uptime %ld\n"
"bandwidth %d %d %d\n"
"onion-key\n%s"
- "signing-key\n"
+ "signing-key\n%s"
#ifdef USE_EVENTDNS
"opt eventdns 1\n"
#else
"opt eventdns 0\n"
#endif
- "%s%s%s%s",
+ "%s%s%s",
router->nickname,
router->address,
router->or_port,