aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/transfer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index d9e37b01b..10a3f87dc 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -766,8 +766,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
if (checkhttpprefix(data, k->p)) {
nc = 1;
k->httpcode = 200;
- k->httpversion =
- (data->set.httpversion==CURL_HTTP_VERSION_1_0)? 10 : 11;
+ k->httpversion = 10;
}
}
}