http2: adjusted to newer nghttp2_session_callbacks struct

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).
This commit is contained in:
Gisle Vanem 2014-01-29 22:52:22 +01:00 committed by Daniel Stenberg
parent 0070f7a09d
commit 341d09bc2b

View File

@ -141,8 +141,6 @@ static const nghttp2_session_callbacks callbacks = {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
};