summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-03 02:23:53 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-03 02:23:53 +0000
commit3485a497fe1836f08c02a5e856c034b1bcdc3ce9 (patch)
treee91d5ee6d2dfdd847784dd33230945f7e28f80c8
parentae726e659e3f52964c7edbd0a7bbe93ee3df32e4 (diff)
downloadtor-3485a497fe1836f08c02a5e856c034b1bcdc3ce9.tar.gz
tor-3485a497fe1836f08c02a5e856c034b1bcdc3ce9.zip
Fix another ntohl
svn:r4903
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index d7ae338dab..737c3b6b59 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1317,7 +1317,7 @@ connection_ap_handshake_socks_resolved(connection_t *conn,
if (answer_type == RESOLVED_TYPE_IPV4) {
uint32_t a = ntohl(get_uint32(answer));
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);
}