Fix lookup with HOSTALIASES set.
authorMike Crowe <mac@mcrowe.com>
Thu, 23 Sep 2010 16:46:34 +0000 (18:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 29 Sep 2010 22:23:08 +0000 (00:23 +0200)
commitfa0dd472cd647f94d8d1937b44ec87f4964c0b08
tree070072d8c87f6401efa444b2b510ca6008e028a4
parent293cd3170019015b6ce40f9fa5efc45bd89dad1a
Fix lookup with HOSTALIASES set.

ares__read_line returns ARES_EOF when it reaches the end of the
file. This will happen every time when reading to the end of the
HOSTALIASES file. Unfortunately single_domain treats this error as
being fatal.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
ares_search.c