[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8554: stop trying to hammer router_rebuild_descriptor() when we do (tor/trunk/src/or)



Author: arma
Date: 2006-09-30 16:40:26 -0400 (Sat, 30 Sep 2006)
New Revision: 8554

Modified:
   tor/trunk/src/or/router.c
Log:
stop trying to hammer router_rebuild_descriptor() when we don't
have a public address we like yet.


Modified: tor/trunk/src/or/router.c
===================================================================
--- tor/trunk/src/or/router.c	2006-09-30 20:14:15 UTC (rev 8553)
+++ tor/trunk/src/or/router.c	2006-09-30 20:40:26 UTC (rev 8554)
@@ -735,10 +735,8 @@
 {
   if (!server_mode(get_options()))
     return NULL;
-
-  if (!desc_routerinfo || !desc_clean_since)
-    if (router_rebuild_descriptor(!desc_routerinfo))
-      return NULL;
+  if (router_rebuild_descriptor(0))
+    return NULL;
   return desc_routerinfo;
 }