pajoye          Sat Jul 12 23:25:42 2008 UTC

  Modified files:              
    /php-src/ext/ftp    ftp.c 
  Log:
  - don't use inet_ntop when not present
  
http://cvs.php.net/viewvc.cgi/php-src/ext/ftp/ftp.c?r1=1.125&r2=1.126&diff_format=u
Index: php-src/ext/ftp/ftp.c
diff -u php-src/ext/ftp/ftp.c:1.125 php-src/ext/ftp/ftp.c:1.126
--- php-src/ext/ftp/ftp.c:1.125 Mon Dec 31 07:12:09 2007
+++ php-src/ext/ftp/ftp.c       Sat Jul 12 23:25:42 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: ftp.c,v 1.125 2007/12/31 07:12:09 sebastian Exp $ */
+/* $Id: ftp.c,v 1.126 2008/07/12 23:25:42 pajoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1437,7 +1437,7 @@
 
        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|")];



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to