diff options
author | Pierre Joye <pajoye@php.net> | 2010-09-16 09:13:19 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-09-16 09:13:19 +0000 |
commit | aa0ed267a29b83099715c48f25bcbf9642bf7bb2 (patch) | |
tree | d834f5f091ed0a5681caa816a41c5de8f2eb1cb3 /main/streams/php_stream_context.h | |
parent | 14e77486e06e21bfc29d80327bdb85ff7e1f0bfa (diff) | |
download | php-git-aa0ed267a29b83099715c48f25bcbf9642bf7bb2.tar.gz |
- use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert
Diffstat (limited to 'main/streams/php_stream_context.h')
-rw-r--r-- | main/streams/php_stream_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/php_stream_context.h b/main/streams/php_stream_context.h index c14b37ef58..52c3875ec7 100644 --- a/main/streams/php_stream_context.h +++ b/main/streams/php_stream_context.h @@ -33,7 +33,7 @@ typedef void (*php_stream_notification_func)(php_stream_context *context, If no context was passed, use the default context The the default context has not yet been created, do it now. */ #define php_stream_context_from_zval(zcontext, nocontext) ( \ - (zcontext) ? zend_fetch_resource(&(zcontext) TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context()) : \ + (zcontext) ? zend_fetch_resource(&(zcontext) TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context(TSRMLS_C)) : \ (nocontext) ? NULL : \ FG(default_context) ? FG(default_context) : \ (FG(default_context) = php_stream_context_alloc()) ) |