summaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-29 00:11:37 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-29 00:11:37 +0000
commit195ee8c845482c827761acae07175d57e287717e (patch)
tree525a1159e27089e67e7bc669b3cdd6b8fefd6a8e /src/or/circuit.c
parent62d3df8633ff5e00eddc76dc690fe6696f1c583b (diff)
downloadtor-195ee8c845482c827761acae07175d57e287717e.tar.gz
tor-195ee8c845482c827761acae07175d57e287717e.zip
create a separate connection_edge_destroy() function
svn:r1176
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index f4d8bf8955..ae2e77b8c6 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -661,12 +661,12 @@ void circuit_close(circuit_t *circ) {
if(circ->n_conn)
connection_send_destroy(circ->n_circ_id, circ->n_conn);
for(conn=circ->n_streams; conn; conn=conn->next_stream) {
- connection_send_destroy(circ->n_circ_id, conn);
+ connection_edge_destroy(circ->n_circ_id, conn);
}
if(circ->p_conn)
connection_send_destroy(circ->n_circ_id, circ->p_conn);
for(conn=circ->p_streams; conn; conn=conn->next_stream) {
- connection_send_destroy(circ->p_circ_id, conn);
+ connection_edge_destroy(circ->p_circ_id, conn);
}
if (circ->state == CIRCUIT_STATE_BUILDING ||
circ->state == CIRCUIT_STATE_OR_WAIT) {