aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-15 21:21:05 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-15 21:21:05 +0000
commit380f8983c7e32dd26e8746f6cf75d12d08f962f7 (patch)
tree128c9c6149c3c173f9e12450b56cb7237eb2846d /src/or/circuitbuild.c
parentead35ef9440a4d20a559441b2c6779954d3c02d5 (diff)
downloadtor-380f8983c7e32dd26e8746f6cf75d12d08f962f7.tar.gz
tor-380f8983c7e32dd26e8746f6cf75d12d08f962f7.zip
r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500
Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry. svn:r9355
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 ab7bab787a..2160ecb9af 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -897,7 +897,7 @@ circuit_truncated(origin_circuit_t *circ, crypt_path_t *layer)
* means that a connection broke or an extend failed. For now,
* just give up.
*/
- circuit_mark_for_close(TO_CIRCUIT(circ),
+ circuit_mark_for_close(TO_CIRCUIT(circ),
END_CIRC_REASON_FLAG_REMOTE|END_CIRC_REASON_OR_CONN_CLOSED);
return 0;