summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-02 22:11:24 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-02 22:11:24 +0000
commit055ee7c3231c8e0e2b645f318e990e4200bb5fbf (patch)
treeb3bca05da72a3d932bb1422015f5b4992f13b357 /src/or/circuitbuild.c
parent4a90d3722969f6b0c8b7a4507af0889594fbed13 (diff)
downloadtor-055ee7c3231c8e0e2b645f318e990e4200bb5fbf.tar.gz
tor-055ee7c3231c8e0e2b645f318e990e4200bb5fbf.zip
Give better warnings if connection_close_unattached_ap gets called twice or called on a marked connection; rename it to connection_mark_unattached_ap.
svn:r3990
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 9dced9354b..03c818ad66 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -723,7 +723,7 @@ int circuit_truncated(circuit_t *circ, crypt_path_t *layer) {
/* no need to send 'end' relay cells,
* because the other side's already dead
*/
- connection_close_unattached_ap(stream, END_STREAM_REASON_DESTROY);
+ connection_mark_unattached_ap(stream, END_STREAM_REASON_DESTROY);
}
}