On Thu, Sep 23, 2010 at 07:11:33PM +0200, Tommie Gannert wrote:
> Mike Crowe wrote:
> > 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.
> >
> It looks to me you are right. ares__read_line() returns ARES_EOF
> when fgets() returns NULL.
Thanks Tommie for confirming the bug and investigating further.
Thanks Daniel for committing.
Mike.
Received on 2010-10-05