Sfoglia il codice sorgente

fixup! Extract node_t into its own header.

Nick Mathewson 7 anni fa
parent
commit
f901ca958a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;
 }