summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2004-01-28 13:31:28 +0000
committerDmitry Stogov <dmitry@php.net>2004-01-28 13:31:28 +0000
commit43f0131ea14e092d2f63a0b9069e4acc4fe88de9 (patch)
tree35bec64b5a3edb2646174472bab78a5d730e5fb0
parent2238e4b9f0a0894dde1a4965418bba645a5cee6a (diff)
downloadphp-git-43f0131ea14e092d2f63a0b9069e4acc4fe88de9.tar.gz
Source cleanup
-rw-r--r--ext/soap/php_http.c2
-rw-r--r--ext/soap/php_xml.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index a56a542d41..96034dbbbb 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -386,7 +386,7 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
if (sempos != NULL) {
cookie_len = sempos-(eqpos+1);
- } else {
+ } else {
cookie_len = strlen(cookie)-(eqpos-cookie)-1;
}
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index 5e55e467b6..368caf30a3 100644
--- a/ext/soap/php_xml.c
+++ b/ext/soap/php_xml.c
@@ -160,12 +160,12 @@ xmlNodePtr check_and_resolve_href(xmlNodePtr data)
if (href->children->content[0] == '#') {
xmlNodePtr ret = get_node_with_attribute_recursive(data->doc->children, NULL, "id", &href->children->content[1]);
if (!ret) {
- php_error(E_ERROR,"Unresolved reference '%s'",href->children->content);
+ php_error(E_ERROR,"Unresolved reference '%s'",href->children->content);
}
return ret;
} else {
/* TODO: External href....? */
- php_error(E_ERROR,"External reference '%s'",href->children->content);
+ php_error(E_ERROR,"External reference '%s'",href->children->content);
}
}
/* SOAP 1.2 enc:id enc:ref */
@@ -175,14 +175,14 @@ xmlNodePtr check_and_resolve_href(xmlNodePtr data)
if (href->children->content[0] == '#') {
xmlNodePtr ret = get_node_with_attribute_recursive_ex(data->doc->children, NULL, NULL, "id", &href->children->content[1], SOAP_1_2_ENC_NAMESPACE);
if (!ret) {
- php_error(E_ERROR,"Unresolved reference '%s'",href->children->content);
+ php_error(E_ERROR,"Unresolved reference '%s'",href->children->content);
} else if (ret == data) {
- php_error(E_ERROR,"Violation of id and ref information items '%s'",href->children->content);
+ php_error(E_ERROR,"Violation of id and ref information items '%s'",href->children->content);
}
return ret;
} else {
/* TODO: External href....? */
- php_error(E_ERROR,"External reference '%s'",href->children->content);
+ php_error(E_ERROR,"External reference '%s'",href->children->content);
}
}
}