From: Nick Mathewson Date: Wed, 3 Feb 2010 05:12:31 +0000 (-0500) Subject: Trivial doc fix for exit_policy_is_general_exit_helper X-Git-Tag: tor-0.2.2.9-alpha~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba0c9e5d0309b6c1f7e55757ef41262d9cde3b14;p=thirdparty%2Ftor.git 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. --- 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 policy that - * allows exiting to port. */ + * allows exiting to port. Otherwise, return 0. */ static int exit_policy_is_general_exit_helper(smartlist_t *policy, int port) {