1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

http: Fix a compiler warning when http2 support is disabled

This commit is contained in:
Dan Fandrich 2014-05-22 08:38:26 +02:00
parent 461d45ea7a
commit f634355868

View File

@ -1761,9 +1761,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
break; break;
} }
} }
else else {
/* prepare for a http2 request */ /* prepare for a http2 request */
Curl_http2_setup(conn); Curl_http2_setup(conn);
}
http = data->req.protop; http = data->req.protop;