[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master 4/4] Trivial doc fix for exit_policy_is_general_exit_helper



Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed, 3 Feb 2010 00:12:31 -0500
Subject: Trivial doc fix for exit_policy_is_general_exit_helper
Commit: ba0c9e5d0309b6c1f7e55757ef41262d9cde3b14

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/policies.c b/src/or/policies.c
index ab308f7..eb8b5fd 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)
 {
-- 
1.6.5