aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-09-14 05:07:26 +0000
committerPeter Palfrader <peter@palfrader.org>2006-09-14 05:07:26 +0000
commit9d9e31dcf4a664d9a8fa2cc8ebe7af93fb9c649b (patch)
tree20aaa23b9730859db110067d604248bab3265a38
parent4f888c9dfc0ea6c9080846d5b7947f09d365abee (diff)
downloadtor-9d9e31dcf4a664d9a8fa2cc8ebe7af93fb9c649b.tar
tor-9d9e31dcf4a664d9a8fa2cc8ebe7af93fb9c649b.tar.gz
r9752@danube: weasel | 2006-09-14 07:06:49 +0200
Fix some dead code that is on occasion useful svn:r8389
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 97fe98ba9..5e5be54eb 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1083,6 +1083,8 @@ do_hup(void)
cpuworkers_rotate();
dns_reset();
#if 0
+ const char *descriptor;
+ char keydir[512];
/* Write out a fresh descriptor, but leave old one on failure. */
router_rebuild_descriptor(1);
descriptor = router_get_my_descriptor();