[or-cvs] minor fixes

Roger Dingledine arma at seul.org
Tue Nov 16 03:12:55 UTC 2004


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	circuituse.c cpuworker.c 
Log Message:
minor fixes


Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- circuituse.c	10 Nov 2004 14:28:47 -0000	1.23
+++ circuituse.c	16 Nov 2004 03:12:53 -0000	1.24
@@ -697,7 +697,7 @@
       /* need to pick an intro point */
       exitname = rend_client_get_random_intro(conn->rend_query);
       if(!exitname) {
-        log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing conn.",
+        log_fn(LOG_WARN,"Couldn't get an intro point for '%s'. Closing.",
                conn->rend_query);
         return -1;
       }

Index: cpuworker.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/cpuworker.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- cpuworker.c	12 Nov 2004 16:39:02 -0000	1.54
+++ cpuworker.c	16 Nov 2004 03:12:53 -0000	1.55
@@ -134,7 +134,8 @@
     /* parse out the circ it was talking about */
     tag_unpack(buf, &addr, &port, &circ_id);
     circ = NULL;
-    /* (This is actually right: we want a specific port here in
+    /* (Here we use connection_exact_get_by_addr_port rather than
+     * get_by_identity_digest: we want a specific port here in
      * case there are multiple connections.) */
     p_conn = connection_exact_get_by_addr_port(addr,port);
     if(p_conn)



More information about the tor-commits mailing list