From: Gunter Knauf Date: Sat, 4 Jul 2009 11:06:00 +0000 (+0000) Subject: removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with... X-Git-Tag: curl-7_19_6~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6236198d435fb6743b3001feda04b760a3d333a2;p=curl removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms. --- diff --git a/lib/ftp.c b/lib/ftp.c index 4c9bcd011..5e44e6169 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -98,10 +98,8 @@ /* The last #include file should be: */ #include "memdebug.h" -#ifdef HAVE_NI_WITHSCOPEID -#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID -#else -#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV +#ifndef NI_MAXHOST +#define NI_MAXHOST 1025 #endif #ifdef __SYMBIAN32__