summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-05-30 23:46:08 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-05-30 23:46:08 +0000
commitb28b401c7896226fa03bc4b96c7dd1b89e9b4bbf (patch)
treea51e41454e8a4996ae3153fb5f247f7f1037add9 /ext/soap/php_http.c
parentae35d25940c14f3c1ae7a6d09a4a1f35756d1a34 (diff)
downloadphp-git-b28b401c7896226fa03bc4b96c7dd1b89e9b4bbf.tar.gz
Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1).
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c2
1 files changed, 1 insertions, 1 deletions
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;
}