diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-10-13 05:27:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-10-13 05:27:59 +0000 |
commit | 78043b847822d122e38942b2fe71e0840235a169 (patch) | |
tree | 626f3c10c95da9428bcf8be636b5e19afc28bccd /src/or/relay.c | |
parent | ff487020aba23c17845a57f4f8ad1c4a72b9a1f2 (diff) | |
download | tor-78043b847822d122e38942b2fe71e0840235a169.tar.gz tor-78043b847822d122e38942b2fe71e0840235a169.zip |
r9017@totoro: nickm | 2006-10-13 01:27:33 -0400
Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up.
svn:r8699
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index c7409c9a57..503b60180c 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -158,7 +158,7 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ, int cell_direction) if (relay_crypt(circ, cell, cell_direction, &layer_hint, &recognized) < 0) { log_warn(LD_BUG,"relay crypt failed. Dropping connection."); - return -1; + return -END_CIRC_REASON_INTERNAL; } if (recognized) { |