summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-16 02:33:00 +0000
committerWez Furlong <wez@php.net>2002-03-16 02:33:00 +0000
commit52982c422e96c1264ce06474fe8ddb504a54d0f0 (patch)
treec6ece52a461d7106ef93c8cc7136484ceb7fb814 /ext/ftp/php_ftp.c
parent59ba0b5172672b1a68b8be745409bf057cbfceac (diff)
downloadphp-git-52982c422e96c1264ce06474fe8ddb504a54d0f0.tar.gz
This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC project/workspace though (there are so many that I don't really know what I am doing :-).
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 9d2673360a..3706dd7cb9 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_C);
+ outstream = php_stream_fopen(local, "wb", NULL TSRMLS_CC);
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_C);
+ instream = php_stream_fopen(local, "rb", NULL TSRMLS_CC);
if (instream == NULL) {
RETURN_FALSE;