diff options
author | Pierre Joye <pajoye@php.net> | 2008-07-12 23:25:42 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-07-12 23:25:42 +0000 |
commit | d9c6286120d951409a5779f5d99a164bf982ccc1 (patch) | |
tree | 065d936d8fd0e8e588c4171e6623c45f50ba0ce1 /ext/ftp | |
parent | 8514a96c9921700232bf59aa49bd8f8749bbeae1 (diff) | |
download | php-git-d9c6286120d951409a5779f5d99a164bf982ccc1.tar.gz |
- 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 9ae77b0f14..30ca6b920a 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|")]; |