projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change configure.in to emit a warning when an argument is given to
[mmh]
/
uip
/
ftpsbr.c
diff --git
a/uip/ftpsbr.c
b/uip/ftpsbr.c
index
2fc3fb7
..
1d6727f
100644
(file)
--- a/
uip/ftpsbr.c
+++ b/
uip/ftpsbr.c
@@
-151,7
+151,9
@@
ftp_trans (char *host, char *user, char *password, char *cwd, char *remote,
struct addrinfo hints, *res;
memset(&hints, 0, sizeof(hints));
struct addrinfo hints, *res;
memset(&hints, 0, sizeof(hints));
+#ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
hints.ai_flags = AI_ADDRCONFIG;
+#endif
hints.ai_family = PF_INET;
hints.ai_socktype = SOCK_STREAM;
hints.ai_family = PF_INET;
hints.ai_socktype = SOCK_STREAM;