mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Old gccs want you to do your variable declarations first
svn:r5516
This commit is contained in:
parent
3347762fa4
commit
0dbb622f26
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user