diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-04-03 00:55:56 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-04-03 00:55:56 +0000 |
commit | 6965f229a6e512b13d5192483d313e3a26bd990e (patch) | |
tree | b7abf9960f5950600c580dc6137fd8a3ea20ceed /ext/ftp | |
parent | f7a8499806c4fa7994fdff3655be5018f71f8b99 (diff) | |
download | php-git-6965f229a6e512b13d5192483d313e3a26bd990e.tar.gz |
MFH
Diffstat (limited to 'ext/ftp')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 84af9fb02c..e2f19a4b47 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -1123,6 +1123,8 @@ PHP_FUNCTION(ftp_close) 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); } /* }}} */ |