s4: Fix result check for getaddrinfo()
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Wed, 6 Jan 2010 11:40:33 +0000 (13:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 6 Jan 2010 13:26:32 +0000 (14:26 +0100)
commita2044b9a61d9c8ca66067b286ad9bc01cf0490b9
tree49722ddf9dd7a40fa2a116773105044c04656e7a
parentf6bd654a6c878111f0f0f4d07adb644fc3bbf224
s4: Fix result check for getaddrinfo()

I think this completes commit 50feca550eed7828198b7c0fc5f0e5ddc863313d.
Now result should be handled correctly both for systems that
support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x)
and systems that doesn't support EAI_NODATA at all.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/libcli/resolve/dns_ex.c