From 4a2e40bb861bc3cf5fb6863e57486ed60316e97c Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 30 Jun 2015 04:05:24 +0300 Subject: Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes). --- ext/soap/php_packet_soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/soap/php_packet_soap.c') diff --git a/ext/soap/php_packet_soap.c b/ext/soap/php_packet_soap.c index d3b3dc4a06..5fd8cc9ae4 100644 --- a/ext/soap/php_packet_soap.c +++ b/ext/soap/php_packet_soap.c @@ -234,7 +234,7 @@ int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunction master_to_zval(&details, NULL, tmp); } } - add_soap_fault(this_ptr, faultcode, faultstring ? faultstring->val : NULL, faultactor ? faultactor->val : NULL, &details); + add_soap_fault(this_ptr, faultcode, faultstring ? ZSTR_VAL(faultstring) : NULL, faultactor ? ZSTR_VAL(faultactor) : NULL, &details); if (faultstring) { zend_string_release(faultstring); } -- cgit v1.2.1