projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83fb285
)
removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with...
author
Gunter Knauf
<gk@gknw.de>
Sat, 4 Jul 2009 11:06:00 +0000
(11:06 +0000)
committer
Gunter Knauf
<gk@gknw.de>
Sat, 4 Jul 2009 11:06:00 +0000
(11:06 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
4c9bcd0
..
5e44e61
100644
(file)
--- 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__