aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-05-18 15:35:21 +0000
committerNick Mathewson <nickm@torproject.org>2004-05-18 15:35:21 +0000
commit7511fbf993271312875d0648166694cc58117060 (patch)
tree57e08c4ab87356af3149d328cf56582ae8ad54a4 /src/or/rendservice.c
parent9da1714676c018e1b4a8c5b52c7be7a5a6579243 (diff)
downloadtor-7511fbf993271312875d0648166694cc58117060.tar.gz
tor-7511fbf993271312875d0648166694cc58117060.zip
Resolve some XXXs
svn:r1889
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 849a79e349..b5e86a4d89 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -482,7 +482,7 @@ rend_service_relaunch_rendezvous(circuit_t *oldcirc)
circuit_t *newcirc;
cpath_build_state_t *newstate, *oldstate;
- /* XXXX assert type and build_state */
+ tor_assert(oldcirc->purpose == CIRCUIT_PURPOSE_S_CONNECT_REND);
if (!oldcirc->build_state ||
oldcirc->build_state->failure_count > MAX_REND_FAILURES) {