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 /ext/standard/http_fopen_wrapper.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 'ext/standard/http_fopen_wrapper.c')
-rw-r--r-- | ext/standard/http_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index 9ac87cdca5..0a1ea1f467 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -337,7 +337,7 @@ finish: eol_detect = stream->flags & (PHP_STREAM_FLAG_DETECT_EOL | PHP_STREAM_FLAG_EOL_MAC); stream->flags &= ~(PHP_STREAM_FLAG_DETECT_EOL | PHP_STREAM_FLAG_EOL_MAC); - php_stream_context_set(stream, context); + php_stream_context_set(stream, context TSRMLS_CC); php_stream_notify_info(context, PHP_STREAM_NOTIFY_CONNECT, NULL, 0); |