diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-15 08:52:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-15 08:53:29 -0400 |
commit | 0fc2d0edce7275eb1ff5a5695e3ac26e79550de2 (patch) | |
tree | aa732b612ad6f049ed86c6a08dc99d257b98e1b3 /src | |
parent | c69e96680a8db0d3d0c20e68f8f8d6727470ece4 (diff) | |
download | tor-0fc2d0edce7275eb1ff5a5695e3ac26e79550de2.tar.gz tor-0fc2d0edce7275eb1ff5a5695e3ac26e79550de2.zip |
Documentation fix for policy_summarize().
Spotted by "epilys"
Diffstat (limited to 'src')
-rw-r--r-- | src/or/policies.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 8a91509a77..6a9e73bdd5 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -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) |