summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorGeorge Wang <gwang@php.net>2014-10-03 16:43:58 -0400
committerGeorge Wang <gwang@php.net>2014-10-03 16:43:58 -0400
commit2fd7d60ea06aa07b99dc219655be7ab42b7e2e16 (patch)
tree2835e4d2625870eb707e0361a769e4921aff8609 /ext/soap/php_http.c
parenta7d2747890846ed68cc86c6e8d3fd005525ff0cc (diff)
parente9b23401514a642b58084784305c1d19cf86a823 (diff)
downloadphp-git-2fd7d60ea06aa07b99dc219655be7ab42b7e2e16.tar.gz
Merge branch 'master' of git.php.net:php-src
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index d1fd2d51ae..a1cee555a8 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2014 The PHP Group |
+----------------------------------------------------------------------+
@@ -595,7 +595,7 @@ try_again:
smart_str_append_const(&soap_headers, "User-Agent: PHP-SOAP/"PHP_VERSION"\r\n");
}
- smart_str_append(&soap_headers, &soap_headers_z);
+ smart_str_append_smart_str(&soap_headers, &soap_headers_z);
if (soap_version == SOAP_1_2) {
smart_str_append_const(&soap_headers,"Content-Type: application/soap+xml; charset=utf-8");