summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-17 19:51:39 +0000
committerZeev Suraski <zeev@php.net>1999-12-17 19:51:39 +0000
commita3c65143323804b4780fb0bd90c03acc03eac583 (patch)
treee2b10d65e8b34a20651e368bad72183b1ae489f8 /ext/ftp/php_ftp.c
parent02d3b39420839c9e09fd7c391f158e5c510bd600 (diff)
downloadphp-git-a3c65143323804b4780fb0bd90c03acc03eac583.tar.gz
More php3_ annihilation
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c8
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;
}