[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] the other half of weasel"s patch, so old gcc"s can build cv...



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	connection_edge.c 
Log Message:
the other half of weasel's patch, so old gcc's can build cvs again.


Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -d -r1.371 -r1.372
--- connection_edge.c	6 Dec 2005 17:01:36 -0000	1.371
+++ connection_edge.c	6 Dec 2005 21:03:48 -0000	1.372
@@ -1005,8 +1005,8 @@
       }
     } else {
       struct in_addr in;
-      conn->chosen_exit_name = tor_strdup(socks->address);
       routerinfo_t *r = router_get_by_nickname(conn->chosen_exit_name, 1);
+      conn->chosen_exit_name = tor_strdup(socks->address);
       *socks->address = 0;
       if (r) {
         /* XXXX Should this use server->address instead? */