From 0dbb622f26f097c8cabb80ae2f4c27ba6c4bd247 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 6 Dec 2005 17:01:36 +0000 Subject: [PATCH] Old gccs want you to do your variable declarations first svn:r5516 --- 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 bf3f2ff848..eb39a370ab 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1006,8 +1006,8 @@ connection_ap_handshake_process_socks(connection_t *conn) } else { struct in_addr in; conn->chosen_exit_name = tor_strdup(socks->address); - *socks->address = 0; routerinfo_t *r = router_get_by_nickname(conn->chosen_exit_name, 1); + *socks->address = 0; if (r) { /* XXXX Should this use server->address instead? */ in.s_addr = htonl(r->addr);