summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r--ext/ftp/php_ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c
index 245f480cde..65d208ae37 100644
--- a/ext/ftp/php_ftp.c
+++ b/ext/ftp/php_ftp.c
@@ -51,7 +51,7 @@ static
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO()
-function_entry php_ftp_functions[] = {
+zend_function_entry php_ftp_functions[] = {
PHP_FE(ftp_connect, NULL)
#if HAVE_OPENSSL_EXT
PHP_FE(ftp_ssl_connect, NULL)
@@ -316,7 +316,7 @@ PHP_FUNCTION(ftp_chdir)
Requests execution of a program on the FTP server */
PHP_FUNCTION(ftp_exec)
{
- pval *z_ftp;
+ zval *z_ftp;
ftpbuf_t *ftp;
char *cmd;
int cmd_len;