diff options
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 1012698966..d3fd331bfa 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -480,7 +480,7 @@ PHP_FUNCTION(ftp_get) RETURN_FALSE; } - outstream = php_stream_fopen(local, "wb", NULL TSRMLS_CC); + outstream = php_stream_fopen(local, "wb", NULL); if (outstream == NULL) { php_stream_close(tmpstream); @@ -547,7 +547,7 @@ PHP_FUNCTION(ftp_put) ZEND_FETCH_RESOURCE(ftp, ftpbuf_t*, &z_ftp, -1, le_ftpbuf_name, le_ftpbuf); XTYPE(xtype, mode); - instream = php_stream_fopen(local, "rb", NULL TSRMLS_CC); + instream = php_stream_fopen(local, "rb", NULL); if (instream == NULL) { RETURN_FALSE; |