summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-05-30 23:46:28 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-05-30 23:46:28 +0000
commit2063ff5a15ba98af368c3006f92bbb1f6be8171f (patch)
tree797ec8178f210f19460fa82208a45b950fbc7b99
parentb1c2b7a4939416adf45dc91563886609d9f703fe (diff)
downloadphp-git-2063ff5a15ba98af368c3006f92bbb1f6be8171f.tar.gz
MFH: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1).
-rw-r--r--NEWS1
-rw-r--r--ext/soap/php_http.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e8c29aeff9..2ade2bc147 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ PHP NEWS
of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)
- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
- Fixed bug #33185 (--enable-session=shared does not build). (Jani)
+- Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). (Ilia)
- Fixed bug #33116 (crash when assigning class name to global variable in
__autoload). (Dmitry)
- Fixed bug #33090 (mysqli_prepare() doesn't return an error). (Georg)
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 0b15f85d9c..1ba85d719b 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -686,7 +686,7 @@ try_again:
if (http_version) {
char *tmp;
- if (strncmp(http_version,"1.1", 3)) {
+ if (!strncmp(http_version,"1.1", 3)) {
http_1_1 = 1;
}