Re: djgpp patches
Date: Wed, 30 Jun 2004 09:05:54 +0200 (CEST)
On Tue, 29 Jun 2004, Gisle Vanem wrote:
> Time again for some djgpp patches.
Applied and committed!
> And a fix for a potential fatal error in hostip4.c; it calls free() on
> something not malloced (retval from gethostbyname).
Ah, nice fix. While being there, I modified the 'buf' pointer type too. I
can't remember anymore why we had it 'int *' but it sure made no sense now so
I made it a 'struct hostent *' to prevent warnings and make better sense...
> Noted thanks to memanalyze.pl
That's a useful little beast! ;-)
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-06-30