From 6236198d435fb6743b3001feda04b760a3d333a2 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 4 Jul 2009 11:06:00 +0000 Subject: [PATCH] removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms. --- lib/ftp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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__