aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c6
1 files 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__