diff options
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 7bd7f4b495..53336af627 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -118,7 +118,7 @@ PHP_MINIT_FUNCTION(ftp) int id, type; \ convert_to_long(pval); \ id = (pval)->value.lval; \ - (ftp) = php3_list_find(id, &type); \ + (ftp) = zend_list_find(id, &type); \ if (!(ftp) || type != le_ftpbuf) { \ php_error(E_WARNING, "Unable to find ftpbuf %d", id); \ RETURN_FALSE; \ @@ -175,7 +175,7 @@ PHP_FUNCTION(ftp_connect) if (ftp == NULL) RETURN_FALSE; - RETURN_LONG(php3_list_insert(ftp, le_ftpbuf)); + RETURN_LONG(zend_list_insert(ftp, le_ftpbuf)); } /* }}} */ @@ -786,8 +786,8 @@ PHP_FUNCTION(ftp_quit) } id = arg1->value.lval; - if (php3_list_find(id, &type) && type == le_ftpbuf) - php3_list_delete(id); + if (zend_list_find(id, &type) && type == le_ftpbuf) + zend_list_delete(id); RETURN_TRUE; } |