Use the literal parse of an address in dns_resolve_impl if parsing the address as...
commit272e64e6746715fc578fb1be5d3a111bf1038d14
authorNick Mathewson <nickm@torproject.org>
Wed, 24 Dec 2008 02:38:07 +0000 (24 02:38 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 24 Dec 2008 02:38:07 +0000 (24 02:38 +0000)
tree8ff4443c71789229a726fdff5e728be9e187d77a
parentdf608fef4522d8c9a26e26c10a2ec95b7f74baa4
Use the literal parse of an address in dns_resolve_impl if parsing the address as an ipv4 or ipv6 address _succeeded_.  Not if it failed.  Bug introduced in r17707 (post 0.2.1.8-alpha), and found by xiando.

svn:r17758
src/or/connection_edge.c
src/or/dns.c