summaryrefslogtreecommitdiff
path: root/ext/soap/soap.c
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 /ext/soap/soap.c
parentdaa90813fb4cee6bb50af334c14f17d795ab8d3b (diff)
downloadphp-git-ed58636f004aa9240a8f9cd056bdd0dc7c05490c.tar.gz
- use TSRMLS_D/C with php_stream_context_alloc
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r--ext/soap/soap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index f447896d96..8189e63c54 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -2524,7 +2524,7 @@ PHP_METHOD(SoapClient, SoapClient)
if (zend_hash_find(ht, "local_cert", sizeof("local_cert"), (void**)&tmp) == SUCCESS &&
Z_TYPE_PP(tmp) == IS_STRING) {
if (!context) {
- context = php_stream_context_alloc();
+ context = php_stream_context_alloc(TSRMLS_C);
}
php_stream_context_set_option(context, "ssl", "local_cert", *tmp);
if (zend_hash_find(ht, "passphrase", sizeof("passphrase"), (void**)&tmp) == SUCCESS &&