diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:19:24 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:19:24 +0100 |
commit | c83598119be083b572e92af292e9e9faa98d8d85 (patch) | |
tree | 2c0222ffdc86c783381ca571cce60eb52abe23c7 /main/streams/transports.c | |
parent | d02340bb39050c2ab0936bd8dc6a3292d6d2fcd9 (diff) | |
download | php-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.c | 2 |
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 */ |