From: foobar Date: Wed, 17 Aug 2005 17:03:52 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.1.0RC2_PRE~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f286018dd03899cfc400003906bec51bbfc03c7f;p=php MFH --- 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); }