removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with...
authorGunter Knauf <gk@gknw.de>
Sat, 4 Jul 2009 11:06:00 +0000 (11:06 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 4 Jul 2009 11:06:00 +0000 (11:06 +0000)
lib/ftp.c

index 4c9bcd0..5e44e61 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
 /* 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__