diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-06-14 00:11:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-06-14 00:11:01 +0200 |
commit | c06e76f6fe0da2c9d06f15b6a57af78155c43149 (patch) | |
tree | 7e4f4dec2cf8f185e20ebe3bb6ca14110075d230 /lib/http2.h | |
parent | 964e43c5e21482f9a0ff8f0be135c4ab8afa9330 (diff) | |
download | curl-c06e76f6fe0da2c9d06f15b6a57af78155c43149.tar.gz |
http2: better return code error checking
Diffstat (limited to 'lib/http2.h')
-rw-r--r-- | lib/http2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.h b/lib/http2.h index ee95ef656..30a8b591b 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -36,7 +36,7 @@ CURLcode Curl_http2_init(struct connectdata *conn); CURLcode Curl_http2_send_request(struct connectdata *conn); CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req, struct connectdata *conn); -void Curl_http2_setup(struct connectdata *conn); +CURLcode Curl_http2_setup(struct connectdata *conn); int Curl_http2_switched(struct connectdata *conn); #else /* USE_NGHTTP2 */ #define Curl_http2_init(x) |