diff options
| author | Wez Furlong <wez@php.net> | 2002-03-17 22:50:59 +0000 | 
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2002-03-17 22:50:59 +0000 | 
| commit | d2d8762267de33b954363189b4ec710e70527a2a (patch) | |
| tree | eb1a94dcc817decc20651b5999ccf3ea7699aadc /ext/ftp/php_ftp.c | |
| parent | 19e82a49f96393a7ae93331db73ef895f3c61376 (diff) | |
| download | php-git-d2d8762267de33b954363189b4ec710e70527a2a.tar.gz | |
Streams now make more use of the memory manager, so tracking down
leaking streams should be easier.
# I hate these big commits
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;  | 
