From 5a5be93f80a3cdb3d72311ece04ccc510c15626c Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 9 Nov 2004 20:04:00 +0000 Subject: Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c svn:r2758 --- src/or/connection_edge.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/or/connection_edge.c') diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 2a4cd4f1b9..9e91a639c5 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -203,7 +203,6 @@ int connection_edge_finished_connecting(connection_t *conn) tor_assert(conn->type == CONN_TYPE_EXIT); tor_assert(conn->state == EXIT_CONN_STATE_CONNECTING); - log_fn(LOG_INFO,"Exit connection to %s:%u established.", conn->address,conn->port); @@ -858,7 +857,6 @@ int connection_exit_begin_resolve(cell_t *cell, circuit_t *circ) { assert_circuit_ok(circ); relay_header_unpack(&rh, cell->payload); - /* This 'dummy_conn' only exists to remember the stream ID * associated with the resolve request; and to make the * implementation of dns.c more uniform. (We really only need to @@ -880,7 +878,7 @@ int connection_exit_begin_resolve(cell_t *cell, circuit_t *circ) { /* send it off to the gethostbyname farm */ switch(dns_resolve(dummy_conn)) { case 1: /* The result was cached; a resolved cell was sent. */ - case -1: + case -1: circuit_detach_stream(circuit_get_by_conn(dummy_conn), dummy_conn); connection_free(dummy_conn); return 0; @@ -1203,7 +1201,6 @@ void client_dns_clean(void) strmap_foreach(client_dns_map, (strmap_foreach_fn)_remove_if_expired, &now); } - /** Make connection redirection follow the provided list of * exit_redirect_t */ void -- cgit v1.2.3-54-g00ecf