Browse Source

- don't use inet_ntop when not present

experimental/first_unicode_implementation
Pierre Joye 18 years ago
parent
commit
d9c6286120
  1. 2
      ext/ftp/ftp.c

2
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|")];

Loading…
Cancel
Save