summaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-02-03 00:12:31 -0500
committerNick Mathewson <nickm@torproject.org>2010-02-03 00:12:31 -0500
commitba0c9e5d0309b6c1f7e55757ef41262d9cde3b14 (patch)
tree88d384f9ee5d33c0f11653862db91011562c6d2e /src/or/policies.c
parentb5b8d9e1566d1fb7e1aa3553e6ac37c5b21939ba (diff)
downloadtor-ba0c9e5d0309b6c1f7e55757ef41262d9cde3b14.tar.gz
tor-ba0c9e5d0309b6c1f7e55757ef41262d9cde3b14.zip
Trivial doc fix for exit_policy_is_general_exit_helper
The original comment said what it did if there was at least one /8 that allowed access to the port, but not what it did otherwise.
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index ab308f764d..eb8b5fd462 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -866,7 +866,7 @@ policies_set_router_exitpolicy_to_reject_all(routerinfo_t *r)
}
/** Return 1 if there is at least one /8 subnet in <b>policy</b> that
- * allows exiting to <b>port</b>. */
+ * allows exiting to <b>port</b>. Otherwise, return 0. */
static int
exit_policy_is_general_exit_helper(smartlist_t *policy, int port)
{