]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add a missing "if" in the comment on warn_nonlocal_controller_ports
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 16 Nov 2015 05:27:11 +0000 (16:27 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Mon, 16 Nov 2015 05:27:11 +0000 (16:27 +1100)
Also reflow all the lines of that comment so that they're under
the maximum width.

src/or/config.c

index 22039b46ef96226d92c7e8d214f506d015043274..311d838b74ac366dddb56f3028fb411599a13a56 100644 (file)
@@ -5803,9 +5803,9 @@ warn_nonlocal_ext_orports(const smartlist_t *ports, const char *portname)
   } SMARTLIST_FOREACH_END(port);
 }
 
-/** Given a list of port_cfg_t in <b>ports</b>, warn any controller port there
- * is listening on any non-loopback address.  If <b>forbid_nonlocal</b> is
- * true, then emit a stronger warning and remove the port from the list.
+/** Given a list of port_cfg_t in <b>ports</b>, warn if any controller port
+ * there is listening on any non-loopback address.  If <b>forbid_nonlocal</b>
+ * is true, then emit a stronger warning and remove the port from the list.
  */
 static void
 warn_nonlocal_controller_ports(smartlist_t *ports, unsigned forbid_nonlocal)