X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fftpsbr.c;h=1d6727fa22e5859fe25891a9398830378d9f4e5f;hp=2fc3fb7d57089a320b89eb6c49b675a08358ebc5;hb=8cf1d92e52d3feac4ed32ec733e2c0ed7f384e86;hpb=b7c348e99fa223f370ebdb4fd9b6627596c66a08 diff --git a/uip/ftpsbr.c b/uip/ftpsbr.c index 2fc3fb7..1d6727f 100644 --- 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)); +#ifdef AI_ADDRCONFIG hints.ai_flags = AI_ADDRCONFIG; +#endif hints.ai_family = PF_INET; hints.ai_socktype = SOCK_STREAM;