Explorar o código

bughunt: start tracking the bug mutiny found

svn:r906
Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
03616803e6
Modificáronse 1 ficheiros con 2 adicións e 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;
 }