From cbb14bec35549667cbd28df33c51e0c373b680df Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 17 Aug 2005 17:02:46 +0000 Subject: [PATCH] Fix ZTS build --- ext/soap/soap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 23013dcf84..304925dfca 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); } -- 2.50.1