summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-09-16 09:33:42 +0000
committerPierre Joye <pajoye@php.net>2010-09-16 09:33:42 +0000
commited58636f004aa9240a8f9cd056bdd0dc7c05490c (patch)
treeb04a57c17f1508a1fd2107a0e143ea9ccaefc075 /main/streams
parentdaa90813fb4cee6bb50af334c14f17d795ab8d3b (diff)
downloadphp-git-ed58636f004aa9240a8f9cd056bdd0dc7c05490c.tar.gz
- use TSRMLS_D/C with php_stream_context_alloc
Diffstat (limited to 'main/streams')
-rw-r--r--main/streams/php_stream_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/php_stream_context.h b/main/streams/php_stream_context.h
index 10c91af68b..48175ad7be 100644
--- a/main/streams/php_stream_context.h
+++ b/main/streams/php_stream_context.h
@@ -36,7 +36,7 @@ typedef void (*php_stream_notification_func)(php_stream_context *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()) )
+ (FG(default_context) = php_stream_context_alloc(TSRMLS_C)) )
#define php_stream_context_to_zval(context, zval) { ZVAL_RESOURCE(zval, (context)->rsrc_id); zend_list_addref((context)->rsrc_id); }