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/mailparse/mailparse.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/mailparse/mailparse.c')
-rwxr-xr-x | ext/mailparse/mailparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mailparse/mailparse.c b/ext/mailparse/mailparse.c index b86ee79ade..3df3df56a0 100755 --- a/ext/mailparse/mailparse.c +++ b/ext/mailparse/mailparse.c @@ -193,7 +193,7 @@ PHP_FUNCTION(mailparse_uudecode_all) instream = (php_stream*)zend_fetch_resource(&file TSRMLS_CC, -1, "File-Handle", &type, 1, php_file_le_stream()); ZEND_VERIFY_RESOURCE(instream); - outstream = php_stream_fopen_temporary_file(NULL, "mailparse", &outpath TSRMLS_CC); + outstream = php_stream_fopen_temporary_file(NULL, "mailparse", &outpath); if (outstream == NULL) { zend_error(E_WARNING, "%s(): unable to open temp file", get_active_function_name(TSRMLS_C)); RETURN_FALSE; @@ -232,7 +232,7 @@ PHP_FUNCTION(mailparse_uudecode_all) add_assoc_string(item, "origfilename", origfilename, 1); /* create a temp file for the data */ - partstream = php_stream_fopen_temporary_file(NULL, "mailparse", &outpath TSRMLS_CC); + partstream = php_stream_fopen_temporary_file(NULL, "mailparse", &outpath); if (partstream) { nparts++; add_assoc_string(item, "filename", outpath, 0); |