Explorar el Código

bughunt: start tracking the bug mutiny found

svn:r906
Roger Dingledine hace 21 años
padre
commit
03616803e6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/or/routerlist.c

+ 2 - 0
src/or/routerlist.c

@@ -126,6 +126,8 @@ routerinfo_t *router_pick_directory_server(void) {
       dirserver = router;
     }
   }
+  if(!dirserver)
+    log_fn(LOG_WARN,"No dirservers in directory! Returning NULL.");
   return dirserver;
 }