]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
more asserts in case weasel can trigger them
authorRoger Dingledine <arma@torproject.org>
Mon, 19 Dec 2005 00:35:18 +0000 (00:35 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 19 Dec 2005 00:35:18 +0000 (00:35 +0000)
svn:r5616

src/or/rendclient.c

index 5a5fba73a4ab26b4d1c6d1c5fec32d68c8d7357a..f80c86a2cb49dd87d5f4871b2619d3d1878639f2 100644 (file)
@@ -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