summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 3073ea73b8..fc82fabe67 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -59,6 +59,8 @@ static int stream_alive(php_stream *stream TSRMLS_DC)
static void proxy_authentication(zval* this_ptr, smart_str* soap_headers)
{
zval **login, **password;
+ TSRMLS_FETCH();
+
if (zend_hash_find(Z_OBJPROP_P(this_ptr), "_proxy_login", sizeof("_proxy_login"), (void **)&login) == SUCCESS) {
char* buf;
int len;