]> granicus.if.org Git - curl/commitdiff
http2: adjusted to newer nghttp2_session_callbacks struct
authorGisle Vanem <gvanem@yahoo.no>
Wed, 29 Jan 2014 21:52:22 +0000 (22:52 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 29 Jan 2014 21:52:22 +0000 (22:52 +0100)
the number of elements in the 'nghttp2_session_callbacks' structure is
now reduced by 2 in version 0.3.0 (I'm not sure when the change
happened, but checking for ver 0.3.0 work for me).

lib/http2.c

index 1282d91cf2f4cd85391178f25421b73caf03da94..c6588b5773292235a006380f6950aba3b375653e 100644 (file)
@@ -141,8 +141,6 @@ static const nghttp2_session_callbacks callbacks = {
   NULL,
   NULL,
   NULL,
-  NULL,
-  NULL,
   NULL
 };