diff options
author | Wez Furlong <wez@php.net> | 2002-03-16 02:33:00 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-16 02:33:00 +0000 |
commit | 52982c422e96c1264ce06474fe8ddb504a54d0f0 (patch) | |
tree | c6ece52a461d7106ef93c8cc7136484ceb7fb814 /ext/ftp/php_ftp.c | |
parent | 59ba0b5172672b1a68b8be745409bf057cbfceac (diff) | |
download | php-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.c | 4 |
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; |