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.
This commit is contained in:
Nick Mathewson 2010-02-03 00:12:31 -05:00
parent b5b8d9e156
commit ba0c9e5d03

View File

@ -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)
{