From 01b7d8274c4c9ad33cd8d0eeb5eeaa9a28a23c15 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Nov 2015 09:10:46 +0100 Subject: http2: rectify the http2 version #if check We need 1.0.0 or later. Also verified by configure. --- lib/http2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/http2.c b/lib/http2.c index 261e7f98d..e76200720 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -42,7 +42,7 @@ #define MIN(x,y) ((x)<(y)?(x):(y)) -#if (NGHTTP2_VERSION_NUM < 0x000600) +#if (NGHTTP2_VERSION_NUM < 0x010000) #error too old nghttp2 version, upgrade! #endif -- cgit v1.2.3