iliaa           Wed Apr  2 19:55:45 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/ftp       php_ftp.c 
  Log:
  Fixed bug #23004 (When ftp_close() is called, sent QUIT to the ftp server)
  
  
Index: php4/ext/ftp/php_ftp.c
diff -u php4/ext/ftp/php_ftp.c:1.74.2.6 php4/ext/ftp/php_ftp.c:1.74.2.7
--- php4/ext/ftp/php_ftp.c:1.74.2.6     Mon Mar 10 10:57:07 2003
+++ php4/ext/ftp/php_ftp.c      Wed Apr  2 19:55:45 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_ftp.c,v 1.74.2.6 2003/03/10 15:57:07 ddhill Exp $ */
+/* $Id: php_ftp.c,v 1.74.2.7 2003/04/03 00:55:45 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1076,6 +1076,8 @@
        }
 
        ZEND_FETCH_RESOURCE(ftp, ftpbuf_t*, &z_ftp, -1, le_ftpbuf_name, le_ftpbuf);
+
+       ftp_quit(ftp);
 
        RETURN_BOOL(zend_list_delete(Z_LVAL_P(z_ftp)) == SUCCESS);
 }



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

Reply via email to