aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-09 15:18:09 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-09-09 15:18:09 +0200
commit2481ac358c64a51dd2b50cbcea80e76186453657 (patch)
tree560765a769ef7f6a626c473af4ce188e1a723442
parentc639d725a37c91fb49bb3a689cb2596fad3a0645 (diff)
http2: adjust to new nghttp2_pack_settings_payload proto
This function was modified in nghttp2 git commit a1c3f89c72e51
-rw-r--r--lib/http2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 4b461dd01..c8e1964a4 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -155,7 +155,9 @@ CURLcode Curl_http2_request(Curl_send_buffer *req,
*/
/* this returns number of bytes it wrote */
- binlen = nghttp2_pack_settings_payload(binsettings, settings,
+ binlen = nghttp2_pack_settings_payload(binsettings,
+ sizeof(binsettings),
+ settings,
sizeof(settings)/sizeof(settings[0]));
if(!binlen) {
failf(conn->data, "nghttp2 unexpectedly failed on pack_settings_payload");