]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 30 May 2005 23:46:28 +0000 (23:46 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 30 May 2005 23:46:28 +0000 (23:46 +0000)
NEWS
ext/soap/php_http.c

diff --git a/NEWS b/NEWS
index e8c29aeff9788851439722f4d42ce70efb44e5f5..2ade2bc147c07886759500691c1e588de195debf 100644 (file)
--- 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)
index 0b15f85d9cf4c5442abd3fe87f6e17cde4a75b13..1ba85d719b8ec863ed746af7812e53e262cd7a17 100644 (file)
@@ -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;
                        }