summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/rendclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 17c92ab6ae..dff8bc33a8 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -278,7 +278,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
/* Copy the rendezvous cookie from rendcirc to introcirc, so that
* when introcirc gets an ack, we can change the state of the right
* rendezvous circuit. */
- memcpy(rendcirc->rend_data->rend_cookie, introcirc->rend_data->rend_cookie,
+ memcpy(introcirc->rend_data->rend_cookie, rendcirc->rend_data->rend_cookie,
REND_COOKIE_LEN);
log_info(LD_REND, "Sending an INTRODUCE1 cell");