aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-25 07:00:04 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-25 07:00:04 +0000
commit3c86402cc2003b490d2586658f401346008016f9 (patch)
tree07fab4b08c859d77496c68542d40a2345ab96e9d /src/or/router.c
parent5bce102cd26d8f8a17eb82b6aab6e6c857d0267e (diff)
downloadtor-3c86402cc2003b490d2586658f401346008016f9.tar.gz
tor-3c86402cc2003b490d2586658f401346008016f9.zip
petty cleanups
svn:r6421
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 896ff527fa..7cd7255b67 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -760,10 +760,9 @@ router_get_my_routerinfo(void)
if (!server_mode(get_options()))
return NULL;
- if (!desc_routerinfo || !desc_clean_since) {
+ if (!desc_routerinfo || !desc_clean_since)
if (router_rebuild_descriptor(!desc_routerinfo))
return NULL;
- }
return desc_routerinfo;
}