s4:libcli/resolve Use a more robust way to return the string address
commit9457b7ea2214aaa3a466e5dbc2daa0b931975073
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Mar 2010 04:56:13 +0000 (10 15:56 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Mar 2010 00:27:47 +0000 (11 11:27 +1100)
treeb538507232c9ade7ba6bc8625d0a997d66fa0177
parent0201b2fa9f31d8c9a75f3057f91b3f720f62292c
s4:libcli/resolve Use a more robust way to return the string address

By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings.  The new dns_host_file resolver returns in the form of a
struct sockaddr.

Andrew Bartlett
source4/libcli/config.mk
source4/libcli/resolve/resolve.c