From da01657c3454b0ca02f142f55627b7d51894fee9 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 19 Dec 2005 00:35:18 +0000 Subject: [PATCH] more asserts in case weasel can trigger them svn:r5616 --- src/or/rendclient.c | 1 + 1 file changed, 1 insertion(+) 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