summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-04-01 10:47:44 +0000
committerDmitry Stogov <dmitry@php.net>2004-04-01 10:47:44 +0000
commit40bb7344525b76d0de051cd59f0f6b6436bd53a4 (patch)
treec6baca4f17c4c6e50998d7f04829f58643a91722 /ext/soap/php_http.c
parent88c17817a90e1c6a559ca128550b88ec0cd2171e (diff)
downloadphp-git-40bb7344525b76d0de051cd59f0f6b6436bd53a4.tar.gz
Some small improvments, support for new style constructors, support for exceptions other then SoapFault
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index bc73e31464..a8c07948d6 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -573,7 +573,7 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
cmplen = strlen(content_type);
}
if (strncmp(content_type, "text/xml", cmplen) == 0 ||
- strncmp(content_type, "application/soap+xml", cmplen == 0)) {
+ strncmp(content_type, "application/soap+xml", cmplen) == 0) {
/*
if (strncmp(http_body, "<?xml", 5)) {
zval *err;