aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-19 00:35:18 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-19 00:35:18 +0000
commitda01657c3454b0ca02f142f55627b7d51894fee9 (patch)
tree49f0d33f24d42976a33f4121686278d2f92b2e25 /src/or
parent7cd46d7f951a724a897f6d799a06eae7040baefc (diff)
downloadtor-da01657c3454b0ca02f142f55627b7d51894fee9.tar.gz
tor-da01657c3454b0ca02f142f55627b7d51894fee9.zip
more asserts in case weasel can trigger them
svn:r5616
Diffstat (limited to 'src/or')
-rw-r--r--src/or/rendclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 5a5fba73a4..f80c86a2cb 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -426,6 +426,7 @@ rend_client_desc_here(const char *query)
while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP,
AP_CONN_STATE_RENDDESC_WAIT, query))) {
+ assert_connection_ok(conn, now);
if (rend_cache_lookup_entry(conn->rend_query, -1, &entry) == 1 &&
entry->parsed->n_intro_points > 0) {
/* either this fetch worked, or it failed but there was a