]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Trivial doc fix for exit_policy_is_general_exit_helper
authorNick Mathewson <nickm@torproject.org>
Wed, 3 Feb 2010 05:12:31 +0000 (00:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 3 Feb 2010 05:12:31 +0000 (00:12 -0500)
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.

src/or/policies.c

index ab308f764d02291ccf6b75b63a75b7930c868055..eb8b5fd4626221acdce19373a1c52da40b5b3255 100644 (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)
 {