浏览代码

remove a redundant memcpy when extending to a new server
and attaching circuits to it.


svn:r5537

Roger Dingledine 20 年之前
父节点
当前提交
d3dcea08af
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/or/circuitbuild.c

+ 0 - 1
src/or/circuitbuild.c

@@ -415,7 +415,6 @@ circuit_n_conn_done(connection_t *or_conn, int status)
        * 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.");