cvs: php4 /ext/ftp php_ftp.c
| From: | Ilia Alshanetsky | Date: | Thu, 03 Apr 2003 00:55:56 +0000 |
| Subject: | cvs: php4 /ext/ftp php_ftp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20002@lists.php.net to get a copy of this message | ||
iliaa Wed Apr 2 19:55:56 2003 EDT
Modified files:
/php4/ext/ftp php_ftp.c
Log:
MFH
Index: php4/ext/ftp/php_ftp.c
diff -u php4/ext/ftp/php_ftp.c:1.86 php4/ext/ftp/php_ftp.c:1.87
--- php4/ext/ftp/php_ftp.c:1.86 Mon Mar 10 10:52:10 2003
+++ php4/ext/ftp/php_ftp.c Wed Apr 2 19:55:56 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_ftp.c,v 1.86 2003/03/10 15:52:10 ddhill Exp $ */
+/* $Id: php_ftp.c,v 1.87 2003/04/03 00:55:56 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1122,6 +1122,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);
}