cURL / Mailing Lists / curl-library / Single Mail


Re: djgpp patches

From: Daniel Stenberg <>
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

That's a useful little beast! ;-)

      Daniel Stenberg -- --
       Dedicated custom curl help for hire:
Received on 2004-06-30