summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-05-30 06:17:28 +0000
committerRoger Dingledine <arma@torproject.org>2006-05-30 06:17:28 +0000
commit1f0e20806b442153d439060b278a1da1b36d2216 (patch)
treecce2571178cd5004ee04a1baa5343f6b54ae7a66 /src/or/circuitbuild.c
parent64b1f2fc75d02c148f286cac67fa4ec39d1ad197 (diff)
downloadtor-1f0e20806b442153d439060b278a1da1b36d2216.tar.gz
tor-1f0e20806b442153d439060b278a1da1b36d2216.zip
END_CIRC_REASON_OR_IDENTITY apparently means that we were told to
connect to a different OR than lives on the addr:port we connected to. we don't actually remember whether that was the case, currently. so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise. svn:r6515
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 2736e1db77..7e39a8eab9 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -423,7 +423,7 @@ circuit_n_conn_done(connection_t *or_conn, int status)
DIGEST_LEN)) {
if (!status) { /* or_conn failed; close circ */
log_info(LD_CIRC,"or_conn failed. Closing circ.");
- circuit_mark_for_close(circ, END_CIRC_REASON_OR_IDENTITY);
+ circuit_mark_for_close(circ, END_CIRC_REASON_OR_CONN_CLOSED);
continue;
}
log_debug(LD_CIRC, "Found circ, sending create cell.");