Explorar o código

Make comment more sensible. Still uncertain about when to call rend_services_init, though.

svn:r1580
Nick Mathewson %!s(int64=22) %!d(string=hai) anos
pai
achega
c256f2c3a1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/or/main.c

+ 2 - 1
src/or/main.c

@@ -534,7 +534,8 @@ static int do_hup(void) {
     log_fn(LOG_ERR,"Error reloading rendezvous service keys");
     log_fn(LOG_ERR,"Error reloading rendezvous service keys");
     exit(1);
     exit(1);
   }
   }
-  /* XXX also call rend_services_init ?? */
+  /* We'll re-call rend_services_init after the new directory arrives.
+   * XXXX but what if we're the the directory? */
   if(retry_all_connections() < 0) {
   if(retry_all_connections() < 0) {
     log_fn(LOG_ERR,"Failed to bind one of the listener ports.");
     log_fn(LOG_ERR,"Failed to bind one of the listener ports.");
     return -1;
     return -1;