diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-05-22 08:38:26 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-05-22 08:38:26 +0200 |
commit | f6343558686e2c8d24d4ea0badbbd45335896b5f (patch) | |
tree | 5289b4a0f08c56b6eee3d6f6be1c4da68875a21e /lib | |
parent | 461d45ea7a459c15104c97cbcfa20ea3aa532c56 (diff) |
http: Fix a compiler warning when http2 support is disabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index cfdaaddfc..5711ee64b 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1761,9 +1761,10 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) break; } } - else + else { /* prepare for a http2 request */ Curl_http2_setup(conn); + } http = data->req.protop; |