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

[or-cvs] bump to 0.1.0.11



Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/tor-010x/tor/src/or

Modified Files:
      Tag: tor-0_1_0-patches
	connection_edge.c router.c 
Log Message:
bump to 0.1.0.11


Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.327.2.1
retrieving revision 1.327.2.2
diff -u -d -r1.327.2.1 -r1.327.2.2
--- connection_edge.c	7 Jun 2005 18:03:33 -0000	1.327.2.1
+++ connection_edge.c	1 Jul 2005 01:56:07 -0000	1.327.2.2
@@ -1504,7 +1504,7 @@
   uint16_t port;
 
   if (!connection_edge_is_rendezvous_stream(conn) &&
-      router_compare_to_my_exit_policy(conn) == ADDR_POLICY_REJECTED) {
+      router_compare_to_my_exit_policy(conn)) {
     log_fn(LOG_INFO,"%s:%d failed exit policy. Closing.",
            safe_str(conn->address), conn->port);
     connection_edge_end(conn, END_STREAM_REASON_EXITPOLICY, conn->cpath_layer);

Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.176.2.2
retrieving revision 1.176.2.3
diff -u -d -r1.176.2.2 -r1.176.2.3
--- router.c	9 Jun 2005 21:26:46 -0000	1.176.2.2
+++ router.c	1 Jul 2005 01:56:07 -0000	1.176.2.3
@@ -580,7 +580,7 @@
 }
 
 /** OR only: Check whether my exit policy says to allow connection to
- * conn.  Return false if we accept; true if we reject.
+ * conn.  Return 0 if we accept; non-0 if we reject.
  */
 int router_compare_to_my_exit_policy(connection_t *conn)
 {