summaryrefslogtreecommitdiff
path: root/ext/mailparse/mailparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mailparse/mailparse.c')
-rwxr-xr-xext/mailparse/mailparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mailparse/mailparse.c b/ext/mailparse/mailparse.c
index 89d1231816..7945411d0f 100755
--- a/ext/mailparse/mailparse.c
+++ b/ext/mailparse/mailparse.c
@@ -204,7 +204,7 @@ PHP_FUNCTION(mailparse_determine_best_xfer_encoding)
WRONG_PARAM_COUNT;
}
- what = zend_fetch_resource(file, -1, "File-Handle", &type, 2, php_file_le_fopen(), php_file_le_stream());
+ what = zend_fetch_resource(file TSRMLS_CC, -1, "File-Handle", &type, 2, php_file_le_fopen(), php_file_le_stream());
ZEND_VERIFY_RESOURCE(what);
#if HAVE_PHP_STREAM