cvs: php-src /ext/soap soap.c
| From: | Jani Taskinen | Date: | Wed, 17 Aug 2005 17:02:50 +0000 |
| Subject: | cvs: php-src /ext/soap soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33503@lists.php.net to get a copy of this message | ||
sniper Wed Aug 17 13:02:50 2005 EDT
Modified files:
/php-src/ext/soap soap.c
Log:
Fix ZTS build
http://cvs.php.net/diff.php/php-src/ext/soap/soap.c?r1=1.158&r2=1.159&ty=u
Index: php-src/ext/soap/soap.c
diff -u php-src/ext/soap/soap.c:1.158 php-src/ext/soap/soap.c:1.159
--- php-src/ext/soap/soap.c:1.158 Wed Aug 17 03:04:50 2005
+++ php-src/ext/soap/soap.c Wed Aug 17 13:02:46 2005
@@ -17,7 +17,7 @@
| Dmitry Stogov <dmitry@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: soap.c,v 1.158 2005/08/17 07:04:50 zeev Exp $ */
+/* $Id: soap.c,v 1.159 2005/08/17 17:02:46 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2459,7 +2459,7 @@
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 @@
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 @@
} 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);
}