summaryrefslogtreecommitdiff
path: root/ext/recode/recode.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 04:58:07 +0000
commit7b1c4006312aca67308d72068364e3666219fd41 (patch)
tree3c88ac98c7bd5977fbf45e2609affbae8185af5f /ext/recode/recode.c
parent8ce8324e5907d9a08789b9a4bea3f1622057932a (diff)
downloadphp-git-7b1c4006312aca67308d72068364e3666219fd41.tar.gz
More TSRMLS_FETCH annihilation (Zend compatibility patch)
Diffstat (limited to 'ext/recode/recode.c')
-rw-r--r--ext/recode/recode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/recode/recode.c b/ext/recode/recode.c
index 07acccfd09..0833e49a93 100644
--- a/ext/recode/recode.c
+++ b/ext/recode/recode.c
@@ -172,14 +172,14 @@ PHP_FUNCTION(recode_file)
WRONG_PARAM_COUNT;
}
- in_fp = zend_fetch_resource(input,-1, "File-Handle", &in_type,
+ in_fp = zend_fetch_resource(input TSRMLS_CC,-1, "File-Handle", &in_type,
2, php_file_le_fopen(), php_file_le_popen());
if (!in_fp) {
php_error(E_WARNING,"Unable to find input file identifier");
RETURN_FALSE;
}
- out_fp = zend_fetch_resource(output,-1, "File-Handle", &out_type,
+ out_fp = zend_fetch_resource(output TSRMLS_CC,-1, "File-Handle", &out_type,
2, php_file_le_fopen(), php_file_le_popen());
if (!out_fp) {
php_error(E_WARNING,"Unable to find output file identifier");