Explorar el Código

fixup! Extract node_t into its own header.

Nick Mathewson hace 7 años
padre
commit
f901ca958a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;
 }