summaryrefslogtreecommitdiff
path: root/ext/libxml
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-16 09:13:19 +0000
committerPierre Joye <pajoye@php.net>2010-09-16 09:13:19 +0000
commitaa0ed267a29b83099715c48f25bcbf9642bf7bb2 (patch)
treed834f5f091ed0a5681caa816a41c5de8f2eb1cb3 /ext/libxml
parent14e77486e06e21bfc29d80327bdb85ff7e1f0bfa (diff)
downloadphp-git-aa0ed267a29b83099715c48f25bcbf9642bf7bb2.tar.gz
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
Diffstat (limited to 'ext/libxml')
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 8d07a18055..f3e6745a9e 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -313,7 +313,7 @@ static void *php_libxml_streams_IO_open_wrapper(const char *filename, const char
}
if (LIBXML(stream_context)) {
- context = zend_fetch_resource(&LIBXML(stream_context) TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context());
+ context = zend_fetch_resource(&LIBXML(stream_context) TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context(TSRMLS_C));
}
ret_val = php_stream_open_wrapper_ex(path_to_open, (char *)mode, REPORT_ERRORS, NULL, context);