]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Documentation fix for policy_summarize().
authorNick Mathewson <nickm@torproject.org>
Fri, 15 Aug 2014 12:52:38 +0000 (08:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 Aug 2014 12:53:29 +0000 (08:53 -0400)
Spotted by "epilys"

src/or/policies.c

index 8a91509a77d0f0947be4b7473c3bff2f8107eaf8..6a9e73bdd56f5f14795097edc52636773105d2d6 100644 (file)
@@ -1334,9 +1334,9 @@ policy_summary_add_item(smartlist_t *summary, addr_policy_t *p)
  * The summary will either be an "accept" plus a comma-separated list of port
  * ranges or a "reject" plus port-ranges, depending on which is shorter.
  *
- * If no exits are allowed at all then NULL is returned, if no ports
- * are blocked instead of "reject " we return "accept 1-65535" (this
- * is an exception to the shorter-representation-wins rule).
+ * If no exits are allowed at all then "reject 1-65535" is returned. If no
+ * ports are blocked instead of "reject " we return "accept 1-65535". (These
+ * are an exception to the shorter-representation-wins rule).
  */
 char *
 policy_summarize(smartlist_t *policy, sa_family_t family)