From dd82550a5e8dab342ab1c5d46c51b781fa6ab568 Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Mon, 16 Nov 2015 12:34:53 +1100 Subject: Add missing " in AccountingMax comment in or.h --- src/or/or.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or') diff --git a/src/or/or.h b/src/or/or.h index 651d8bed0c..48dd0bdc10 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3808,7 +3808,7 @@ typedef struct { * hibernate." */ /** How do we determine when our AccountingMax has been reached? * "max" for when in or out reaches AccountingMax - * "sum for when in plus out reaches AccountingMax */ + * "sum" for when in plus out reaches AccountingMax */ char *AccountingRule_option; enum { ACCT_MAX, ACCT_SUM } AccountingRule; -- cgit v1.2.3-54-g00ecf From d3b7546753fbf37dfe2dc5dc774492c8d501409f Mon Sep 17 00:00:00 2001 From: "teor (Tim Wilson-Brown)" Date: Mon, 16 Nov 2015 16:27:11 +1100 Subject: 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. --- src/or/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/or') 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 ports, warn any controller port there - * is listening on any non-loopback address. If forbid_nonlocal is - * true, then emit a stronger warning and remove the port from the list. +/** Given a list of port_cfg_t in ports, warn if any controller port + * there is listening on any non-loopback address. If forbid_nonlocal + * 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) -- cgit v1.2.3-54-g00ecf