aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-04 11:06:00 +0000
committerGunter Knauf <gk@gknw.de>2009-07-04 11:06:00 +0000
commit6236198d435fb6743b3001feda04b760a3d333a2 (patch)
tree95b5cc2d184aea479396b3b748be9b1cbea0f2f0 /lib/ftp.c
parent83fb285d401a68e87df85662dbba44b343edb6fd (diff)
removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms.
Diffstat (limited to 'lib/ftp.c')
-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__