aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-02-28 03:06:31 +0000
committerNick Mathewson <nickm@torproject.org>2004-02-28 03:06:31 +0000
commit88e222ff76e3643b20589dde8f0002ce8c559dc0 (patch)
treeac860237df65f045571f93d2c2810e08c0af13da /src/or/circuit.c
parentd0ad9b147ac4b0d3738d80b78b20070cc6aba592 (diff)
downloadtor-88e222ff76e3643b20589dde8f0002ce8c559dc0.tar
tor-88e222ff76e3643b20589dde8f0002ce8c559dc0.tar.gz
Make has_sent_end irrelevant: only try to send end if reason is nonzero
svn:r1148
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r--src/or/circuit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c
index ab83827f1..9ba946f30 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -1159,7 +1159,6 @@ int circuit_truncated(circuit_t *circ, crypt_path_t *layer) {
/* no need to send 'end' relay cells,
* because the other side's already dead
*/
- stream->has_sent_end = 1;
connection_mark_for_close(stream,0);
}
}