소스 검색

let bob replenish his intro points and republish service desc
as necessary


svn:r1528

Roger Dingledine 21 년 전
부모
커밋
4df06ab5bb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -333,6 +333,7 @@ static void run_scheduled_events(time_t now) {
    *    our descriptor (if any). */
   if(time_to_fetch_directory < now) {
     /* it's time to fetch a new directory and/or post our descriptor */
+    rend_services_init(); /* make new intro points and re-upload if necessary */
     if(options.ORPort) {
       router_rebuild_descriptor();
       router_upload_dir_desc_to_dirservers();