aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-17 15:20:00 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-17 15:20:00 +0000
commitb713b370bfdd2be8f1456d11f7e087c9cf7cdee7 (patch)
tree2f9e2c06a9f0a042f56b06a96f66456fde68d07b /src/or/rendservice.c
parente3b1d059c7f17bf82cf9ac80a50642bb4db6dffe (diff)
downloadtor-b713b370bfdd2be8f1456d11f7e087c9cf7cdee7.tar
tor-b713b370bfdd2be8f1456d11f7e087c9cf7cdee7.tar.gz
r9060@totoro: nickm | 2006-10-17 11:12:48 -0400
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 773b25eac..984bf7e7c 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -738,8 +738,7 @@ rend_service_intro_has_opened(origin_circuit_t *circuit)
if (!service) {
log_warn(LD_REND, "Unrecognized service ID %s on introduction circuit %d.",
serviceid, circuit->_base.n_circ_id);
- /* XXXX Add a no-such-servicer reason? */
- reason = END_CIRC_REASON_CONNECTFAILED;
+ reason = END_CIRC_REASON_NOSUCHSERVICE;
goto err;
}