소스 검색

fixup! Extract node_t into its own header.

Nick Mathewson 7 년 전
부모
커밋
f901ca958a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/or/nodelist.c

+ 2 - 1
src/or/nodelist.c

@@ -638,7 +638,8 @@ nodelist_set_consensus(networkstatus_t *ns)
 /** Return 1 iff <b>node</b> has Exit flag and no BadExit flag.
  * Otherwise, return 0.
  */
-int node_is_good_exit(const node_t *node)
+int
+node_is_good_exit(const node_t *node)
 {
   return node->is_exit && ! node->is_bad_exit;
 }