From: Ilia Alshanetsky Date: Mon, 30 May 2005 23:46:08 +0000 (+0000) Subject: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). X-Git-Tag: php-5.0.1b1~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b28b401c7896226fa03bc4b96c7dd1b89e9b4bbf;p=php Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). --- 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; }