From a3c65143323804b4780fb0bd90c03acc03eac583 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 17 Dec 1999 19:51:39 +0000 Subject: More php3_ annihilation --- ext/ftp/php_ftp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/ftp/php_ftp.c') 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; } -- cgit v1.2.1