ソースを参照

add missing return

svn:r4913
Nick Mathewson 20 年 前
コミット
9e76eae810
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/or/routerlist.c

+ 2 - 0
src/or/routerlist.c

@@ -1253,6 +1253,8 @@ router_set_networkstatus(const char *s, time_t arrived_at, int is_cached)
 
   if (get_options()->DirPort)
     dirserv_set_cached_networkstatus_v2(s, fp, ns->published_on);
+
+  return 0;
 }
 
 /** Ensure that our own routerinfo is at the front, and remove duplicates