diff options
author | Andrei Zmievski <andrei@php.net> | 2000-10-25 17:44:02 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-10-25 17:44:02 +0000 |
commit | f1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6 (patch) | |
tree | 6c90603474e1279c8124d0d442fc25385fc183a4 /ext/ftp/php_ftp.c | |
parent | 84681b9c814f04ce7eaaa6787051cf720944c78b (diff) | |
download | php-git-f1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6.tar.gz |
Use zend_register_list_destructors_ex() instead.
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index a457aab211..a084cb7623 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -92,7 +92,7 @@ static void ftp_destructor_ftpbuf(zend_rsrc_list_entry *rsrc) PHP_MINIT_FUNCTION(ftp) { - le_ftpbuf = register_list_destructors(ftp_destructor_ftpbuf, NULL, "ftp"); + le_ftpbuf = zend_register_list_destructors_ex(ftp_destructor_ftpbuf, NULL, "ftp", module_number); REGISTER_MAIN_LONG_CONSTANT("FTP_ASCII", FTPTYPE_ASCII, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_LONG_CONSTANT("FTP_BINARY", FTPTYPE_IMAGE, |