From 640544ae3e6d6e8b576327442c98750359eccbf6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 17 Oct 2004 21:10:41 +0000 Subject: [PATCH] use connection_edge_is_rendezvous_stream() more svn:r2564 --- src/or/connection_edge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 059fea4a62..294c1155f7 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -776,7 +776,7 @@ int connection_exit_begin_conn(cell_t *cell, circuit_t *circ) { n_stream->address = tor_strdup("(rendezvous)"); n_stream->state = EXIT_CONN_STATE_CONNECTING; strcpy(n_stream->rend_query, circ->rend_query); - tor_assert(n_stream->rend_query[0]); + tor_assert(connection_edge_is_rendezvous_stream(n_stream)); assert_circuit_ok(circ); if(rend_service_set_connection_addr_port(n_stream, circ) < 0) { log_fn(LOG_INFO,"Didn't find rendezvous service (port %d)",n_stream->port);