diff options
author | Pierre Joye <pajoye@php.net> | 2008-07-12 23:26:02 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-07-12 23:26:02 +0000 |
commit | f8a7c37c83ddc273b69cc0cb9a24e520a37ab17d (patch) | |
tree | df0be932a53d7fd867054acc57338cbf6227b254 /ext/ftp | |
parent | 75db10f95b38a813048269dd25704568254642a2 (diff) | |
download | php-git-f8a7c37c83ddc273b69cc0cb9a24e520a37ab17d.tar.gz |
- MFH: don't use inet_ntop when not present
Diffstat (limited to 'ext/ftp')
-rw-r--r-- | ext/ftp/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 8b78cb60e6..842ca7cdc4 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1437,7 +1437,7 @@ ftp_getdata(ftpbuf_t *ftp TSRMLS_DC) data->listener = fd; -#if HAVE_IPV6 +#if HAVE_IPV6 && HAVE_INET_NTOP if (sa->sa_family == AF_INET6) { /* need to use EPRT */ char eprtarg[INET6_ADDRSTRLEN + sizeof("|x||xxxxx|")]; |