소스 검색

Crashing dirservers on startup is often considered bad form.

svn:r4874
Nick Mathewson 20 년 전
부모
커밋
70fe2a6cee
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/or/routerlist.c

+ 2 - 1
src/or/routerlist.c

@@ -1064,7 +1064,8 @@ router_load_routerlist_from_directory(const char *s,
     smartlist_t *changed = smartlist_create();
     SMARTLIST_FOREACH(new_list->routers, routerinfo_t *, r,
     {
-      if (router_add_to_routerlist(r,NULL)==0)
+      char *msg;
+      if (router_add_to_routerlist(r,&msg)==0)
         smartlist_add(changed, r);
     });
     smartlist_clear(new_list->routers);