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

[or-cvs] Fix another ntohl



Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv25107/src/or

Modified Files:
	connection_edge.c 
Log Message:
Fix another ntohl

Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -d -r1.344 -r1.345
--- connection_edge.c	3 Sep 2005 01:47:39 -0000	1.344
+++ connection_edge.c	3 Sep 2005 02:23:53 -0000	1.345
@@ -1317,7 +1317,7 @@
   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);
   }