From 2481ac358c64a51dd2b50cbcea80e76186453657 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 9 Sep 2013 15:18:09 +0200 Subject: http2: adjust to new nghttp2_pack_settings_payload proto This function was modified in nghttp2 git commit a1c3f89c72e51 --- lib/http2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3