summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}