cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: getnameinfo() args

From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 14 Dec 2005 22:18:11 +0100

> - What is the | sed 's/\*/\*/g' clause for? It looks like a no-op to me.

Just in case the first argument which is a pointer finally also needs
to be tested.

> - You need to #include stdio.h or stddef.h to guarantee NULL will be defined;
> maybe just use 0 instead.

Changed to 0.

> - Some preprocessors have problems if the # character isn't at position 1.

Also changed.

Thanks Dan, let's hope this time the configure script doesn't crash on
my face again.

-=[Yang]=-
Received on 2005-12-14