sniper Wed Aug 17 13:04:37 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/soap soap.c
Log:
MFH..thank god this ext is NOT in PHP_4_4 branch too..
http://cvs.php.net/diff.php/php-src/ext/soap/soap.c?r1=1.110.2.41&r2=1.110.2.42&ty=u
Index: php-src/ext/soap/soap.c
diff -u php-src/ext/soap/soap.c:1.110.2.41 php-src/ext/soap/soap.c:1.110.2.42
--- php-src/ext/soap/soap.c:1.110.2.41 Wed Aug 17 03:02:31 2005
+++ php-src/ext/soap/soap.c Wed Aug 17 13:04:37 2005
@@ -17,7 +17,7 @@
| Dmitry Stogov <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: soap.c,v 1.110.2.41 2005/08/17 07:02:31 zeev Exp $ */
+/* $Id: soap.c,v 1.110.2.42 2005/08/17 17:04:37 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2445,7 +2445,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;
@@ -2509,7 +2509,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) {
@@ -2764,7 +2764,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);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php