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

[or-cvs] remove a redundant memcpy when extending to a new server



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

Modified Files:
	circuitbuild.c 
Log Message:
remove a redundant memcpy when extending to a new server
and attaching circuits to it.


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- circuitbuild.c	8 Dec 2005 17:38:32 -0000	1.169
+++ circuitbuild.c	8 Dec 2005 20:33:57 -0000	1.170
@@ -415,7 +415,6 @@
        * orconn_circuid_circuit_map, so we don't need to call
        * set_circid_orconn here. */
       circ->n_conn = or_conn;
-      memcpy(circ->n_conn_id_digest, or_conn->identity_digest, DIGEST_LEN);
       if (CIRCUIT_IS_ORIGIN(circ)) {
         if (circuit_send_next_onion_skin(circ) < 0) {
           info(LD_CIRC,"send_next_onion_skin failed; circuit marked for closing.");