This commit is contained in:
Ilia Alshanetsky 2003-04-03 00:55:56 +00:00
parent f7a8499806
commit 6965f229a6

View File

@ -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);
}
/* }}} */