When looking up in DNS and then in the hosts file, return the error code from DNS...
authorSteinar H. Gunderson <sesse@google.com>
Thu, 15 Nov 2007 09:16:48 +0000 (09:16 +0000)
committerSteinar H. Gunderson <sesse@google.com>
Thu, 15 Nov 2007 09:16:48 +0000 (09:16 +0000)
commit5cf6a539feb3332471de60929edce3e7014521ac
tree819d75fbf82d26ba47faaac8f1ed5d7f379abb35
parent17fde12fb853c59a026fb5de50d6472af682a956
When looking up in DNS and then in the hosts file, return the error code from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree.
ares/ares_gethostbyname.c