mirror of
https://github.com/curl/curl.git
synced 2026-06-07 07:54:16 +03:00
fix strange if test ending on other line
This commit is contained in:
parent
71c7458139
commit
33b0fb8b1e
1 changed files with 1 additions and 2 deletions
|
|
@ -2688,8 +2688,7 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
|
|||
else if(alpn && !strcmp("h2", alpn)) {
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
if((Curl_conn_http_version(data, conn) != 20) &&
|
||||
conn->bits.proxy && !conn->bits.tunnel_proxy
|
||||
) {
|
||||
conn->bits.proxy && !conn->bits.tunnel_proxy) {
|
||||
result = Curl_http2_switch(data);
|
||||
if(result)
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue