Subject: Re: get_iphlpapi_dns_info recode (Was: A Windows handle leak in ares_init)

Re: get_iphlpapi_dns_info recode (Was: A Windows handle leak in ares_init)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-07-03

On Sun, 3 Jul 2005, codemastr wrote:

> After reading about the handle leak, I started looking at this function and
> I think it *really* needs a recode. If you look at it you'll see that it
> violates many C style principles (use of goto, not checking whether
> non-standard functions exist, using negative array subscripts, etc.)
>
> Anyone else agree?

I agree that it could be written in a nicer way. But I'm not the man to fix
that...

-- 
   c-ares -- my preferred DNS asynch resolver library
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Sun Jul 3 23:14:05 2005