summaryrefslogtreecommitdiff
path: root/ext/soap
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-08-17 17:03:52 +0000
committerfoobar <sniper@php.net>2005-08-17 17:03:52 +0000
commitf286018dd03899cfc400003906bec51bbfc03c7f (patch)
tree8812b0d7800e9adb4c2fe05bb936f001beb6b179 /ext/soap
parent617716b171ae21cc46130f703059828df4a69244 (diff)
downloadphp-git-f286018dd03899cfc400003906bec51bbfc03c7f.tar.gz
MFH
Diffstat (limited to 'ext/soap')
-rw-r--r--ext/soap/soap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index f332d6e8e6..1eafeff9e8 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -2459,7 +2459,7 @@ static void do_soap_call(zval* this_ptr,
SOAP_CLIENT_END_CODE();
}
-static void verify_soap_headers_array(HashTable *ht)
+static void verify_soap_headers_array(HashTable *ht TSRMLS_DC)
{
zval **tmp;
@@ -2523,7 +2523,7 @@ PHP_METHOD(SoapClient, __call)
if (headers == NULL || Z_TYPE_P(headers) == IS_NULL) {
} else if (Z_TYPE_P(headers) == IS_ARRAY) {
soap_headers = Z_ARRVAL_P(headers);
- verify_soap_headers_array(soap_headers);
+ verify_soap_headers_array(soap_headers TSRMLS_CC);
free_soap_headers = 0;
} else if (Z_TYPE_P(headers) == IS_OBJECT &&
Z_OBJCE_P(headers) == soap_header_class_entry) {
@@ -2778,7 +2778,7 @@ PHP_METHOD(SoapClient, __setSoapHeaders)
} else if (Z_TYPE_P(headers) == IS_ARRAY || Z_TYPE_P(headers) == IS_OBJECT) {
zval *default_headers;
- verify_soap_headers_array(Z_ARRVAL_P(headers));
+ verify_soap_headers_array(Z_ARRVAL_P(headers) TSRMLS_CC);
if (zend_hash_find(Z_OBJPROP_P(this_ptr), "__default_headers", sizeof("__default_headers"), (void **) &default_headers)==FAILURE) {
add_property_zval(this_ptr, "__default_headers", headers);
}