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

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;
                        }