summaryrefslogtreecommitdiff
path: root/main/streams/transports.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2013-12-18 09:19:24 +0100
committerKalle Sommer Nielsen <kalle@php.net>2013-12-18 09:19:24 +0100
commitc83598119be083b572e92af292e9e9faa98d8d85 (patch)
tree2c0222ffdc86c783381ca571cce60eb52abe23c7 /main/streams/transports.c
parentd02340bb39050c2ab0936bd8dc6a3292d6d2fcd9 (diff)
downloadphp-git-c83598119be083b572e92af292e9e9faa98d8d85.tar.gz
Kill a TSRMLS_FETCH() in php_stream_context_set() by passing TSRMLS_CC to it
# For mysqlnd: Relevant PHP_API_VERSION are put in place for cross version compatibility
Diffstat (limited to 'main/streams/transports.c')
-rw-r--r--main/streams/transports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/transports.c b/main/streams/transports.c
index 2d31074ded..1f87ab3c6c 100644
--- a/main/streams/transports.c
+++ b/main/streams/transports.c
@@ -134,7 +134,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, in
context STREAMS_REL_CC TSRMLS_CC);
if (stream) {
- php_stream_context_set(stream, context);
+ php_stream_context_set(stream, context TSRMLS_CC);
if ((flags & STREAM_XPORT_SERVER) == 0) {
/* client */