Fix another ntohl

svn:r4903
This commit is contained in:
Nick Mathewson 2005-09-03 02:23:53 +00:00
parent ae726e659e
commit 3485a497fe

View File

@ -1317,7 +1317,7 @@ connection_ap_handshake_socks_resolved(connection_t *conn,
if (answer_type == RESOLVED_TYPE_IPV4) { if (answer_type == RESOLVED_TYPE_IPV4) {
uint32_t a = ntohl(get_uint32(answer)); uint32_t a = ntohl(get_uint32(answer));
if (a) if (a)
client_dns_set_addressmap(conn->socks_request->address, ntohl(a), client_dns_set_addressmap(conn->socks_request->address, a,
conn->chosen_exit_name, ttl); conn->chosen_exit_name, ttl);
} }