From b28b401c7896226fa03bc4b96c7dd1b89e9b4bbf Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 30 May 2005 23:46:08 +0000 Subject: Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). --- ext/soap/php_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/soap/php_http.c') 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; } -- cgit v1.2.1