diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:05:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-26 19:05:34 +0000 |
commit | a88ec48a39e5531fa80a0b5d5ec42dd31f268b67 (patch) | |
tree | cb2386170a1f452e113720dd0ee7726e02f3dd9a /src/or/connection_edge.c | |
parent | f2dc012accd60312a67eb83c14691667235c9017 (diff) | |
download | tor-a88ec48a39e5531fa80a0b5d5ec42dd31f268b67.tar.gz tor-a88ec48a39e5531fa80a0b5d5ec42dd31f268b67.zip |
r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400
Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit.
svn:r6903
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 0d1ecd6a69..10284723d4 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1637,7 +1637,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ) log_debug(LD_REND,"begin is for rendezvous. configuring stream."); n_stream->address = tor_strdup("(rendezvous)"); n_stream->state = EXIT_CONN_STATE_CONNECTING; - strlcpy(n_stream->rend_query, circ->rend_query, + strlcpy(n_stream->rend_query, origin_circ->rend_query, sizeof(n_stream->rend_query)); tor_assert(connection_edge_is_rendezvous_stream(n_stream)); assert_circuit_ok(circ); |