瀏覽代碼

bughunt: start tracking the bug mutiny found

svn:r906
Roger Dingledine 21 年之前
父節點
當前提交
03616803e6
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
 }