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 1282d91..c6588b5 100644 (file)
@@ -141,8 +141,6 @@ static const nghttp2_session_callbacks callbacks = {
   NULL,
   NULL,
   NULL,
-  NULL,
-  NULL,
   NULL
 };