Subject: Re: ares_init.c +1295, missing else?

Re: ares_init.c +1295, missing else?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 13 Feb 2011 19:35:23 +0100 (CET)

On Fri, 11 Feb 2011, Dima Tisnek wrote:

> it occurs to me that perhaps there's a missing "else" in ares_init.c line
> 1295;
>
> without an else there, contents of "pat" that could have been successfully
> set just above, may be clobbered by successive unsuccessful calls to
> "xxx_pton" or "ip_addr".

Can you please show us a patch for your suggested change to make it clearer
exactly what you mean?

-- 
  / daniel.haxx.se
Received on 2011-02-13