diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-11-16 16:27:11 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-11-16 16:27:11 +1100 |
commit | d3b7546753fbf37dfe2dc5dc774492c8d501409f (patch) | |
tree | c7108924e303b50ccf8d91de3165ce77dedadc80 /src/or/config.c | |
parent | dd82550a5e8dab342ab1c5d46c51b781fa6ab568 (diff) | |
download | tor-d3b7546753fbf37dfe2dc5dc774492c8d501409f.tar.gz tor-d3b7546753fbf37dfe2dc5dc774492c8d501409f.zip |
Add a missing "if" in the comment on warn_nonlocal_controller_ports
Also reflow all the lines of that comment so that they're under
the maximum width.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index 22039b46ef..311d838b74 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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) |